Skip to content

Commit

Permalink
Update swig/python/codegen/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Heywood <[email protected]>
  • Loading branch information
Robadob and ptheywood authored Nov 20, 2023
1 parent 2a50012 commit db6b47d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion swig/python/codegen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def translate(function: Union[str, Callable]) -> str:
prepend_c_source = ""
# Find all annotated variables
for key, val in module_annontations.items():
print(val.__name__)
if val.__name__ == "Final" or val.__name__ == "constant":
# Locate the literal for that variable (Python will precompute anything e.g. math.sqrt(12.5))
for mem in module_members:
Expand Down

0 comments on commit db6b47d

Please sign in to comment.