You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Debugging smutz caused verify failures
This commit is contained in:
@@ -2070,7 +2070,7 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
if tokens[-1].type == 'RETURN_VALUE':
|
||||
# Should we also check for returning None?
|
||||
if tokens[-2].type == 'LOAD_CONST':
|
||||
if True or isTopLevel:
|
||||
if isTopLevel:
|
||||
del tokens[-2:]
|
||||
else:
|
||||
tokens.append(Token('RETURN_LAST'))
|
||||
|
Reference in New Issue
Block a user