Skip to content

Commit

Permalink
Handle long objects just like ints when dumping, to clarify dumps.
Browse files Browse the repository at this point in the history
  • Loading branch information
CensoredUsername committed Feb 24, 2020
1 parent bb94216 commit 4fbcf8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decompiler/astdump.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def print_ast(self, ast):
self.print_dict(ast)
elif isinstance(ast, (str, unicode)):
self.print_string(ast)
elif isinstance(ast, (int, bool)) or ast is None:
elif isinstance(ast, (int, long, bool)) or ast is None:
self.print_other(ast)
elif inspect.isclass(ast):
self.print_class(ast)
Expand Down

0 comments on commit 4fbcf8f

Please sign in to comment.