You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Small changes
test_pyenvlib.py: cleanup code a little uncompyle6/main.py: more explicit decompile msg
This commit is contained in:
@@ -19,7 +19,7 @@ def uncompyle(version, co, out=None, showasm=False, showast=False,
|
||||
|
||||
# store final output stream for case of error
|
||||
real_out = out or sys.stdout
|
||||
print('# Python %s (decompiled from Python %s)' % (version, PYTHON_VERSION),
|
||||
print('# Python bytecode %s (decompiled from Python %s)' % (version, PYTHON_VERSION),
|
||||
file=real_out)
|
||||
if co.co_filename:
|
||||
print('# Embedded file name: %s' % co.co_filename,
|
||||
|
Reference in New Issue
Block a user