Skip to content

Commit

Permalink
Update mypyc/codegen/emitmodule.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Waygood <[email protected]>
  • Loading branch information
hauntsaninja and AlexWaygood authored Jan 2, 2024
1 parent 5128dc9 commit a42fc37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypyc/codegen/emitmodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ def _toposort_visit(name: str) -> None:
result.append(decl.declaration)
decl.mark = True

for name in marked_declarations.keys():
for name in marked_declarations:
_toposort_visit(name)

return result
Expand Down

0 comments on commit a42fc37

Please sign in to comment.