You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
asm should format tokens
This commit is contained in:
@@ -14,7 +14,7 @@ def maybe_show_asm(showasm, tokens):
|
||||
if showasm:
|
||||
stream = showasm if hasattr(showasm, 'write') else sys.stdout
|
||||
for t in tokens:
|
||||
stream.write(t)
|
||||
stream.write(t.format())
|
||||
stream.write('\n')
|
||||
|
||||
|
||||
@@ -55,4 +55,4 @@ def maybe_show_ast_param_default(showast, name, default):
|
||||
stream.write(default)
|
||||
stream.write('\n')
|
||||
stream.write('--')
|
||||
stream.write('\n')
|
||||
stream.write('\n')
|
||||
|
Reference in New Issue
Block a user