Small changes

test_pyenvlib.py: cleanup code a little
uncompyle6/main.py: more explicit decompile msg
This commit is contained in:
rocky
2016-05-20 22:19:17 -04:00
parent 68ff878b3e
commit 207edbd53d
2 changed files with 9 additions and 14 deletions

View File

@@ -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,