You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Misc small changes
Go over history yet again code cleanups.
This commit is contained in:
@@ -33,9 +33,11 @@ def uncompyle(version, co, out=None, showasm=False, showast=False,
|
||||
code_objects=code_objects)
|
||||
except pysource.SourceWalkerError as e:
|
||||
# deparsing failed
|
||||
print("\n")
|
||||
if real_out != out:
|
||||
print("\n", file=real_out)
|
||||
print(e, file=real_out)
|
||||
raise
|
||||
|
||||
|
||||
|
||||
def uncompyle_file(filename, outstream=None, showasm=False, showast=False,
|
||||
|
Reference in New Issue
Block a user