Skip to content

Commit

Permalink
Remove unnecessary fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
malthe committed Dec 22, 2024
1 parent 2b14af4 commit 9155eb4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/chameleon/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ def visit_FunctionDef(self, node: ast.FunctionDef) -> AST:
decorator_list=node.decorator_list,
returns=node.returns,
)
copy_location(funcdef, node)
fix_missing_locations(funcdef)
return funcdef

def visit_Name(self, node: ast.Name) -> AST:
Expand Down

0 comments on commit 9155eb4

Please sign in to comment.