Skip to content

Commit

Permalink
Also fix for comprehension
Browse files Browse the repository at this point in the history
  • Loading branch information
AryazE committed Aug 28, 2024
1 parent f722cfc commit c799d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynapyt/instrument/CodeInstrumenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1894,7 +1894,7 @@ def leave_CompFor(self, original_node, updated_node):
if (
"enter_for" not in self.selected_hooks
and "exit_for" not in self.selected_hooks
):
) or original_node.asynchronous is not None: # TODO: Handle async for loops
return updated_node
generator_name = cst.Attribute(
value=cst.Name(value="_rt"), attr=cst.Name(value="_gen_")
Expand Down

0 comments on commit c799d83

Please sign in to comment.