You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Isolate pseudo op IMPORT_NAME_CONT
I think this is a holdover from pre 2.3 days. Possibly it can be dropped altogether.
This commit is contained in:
@@ -712,7 +712,7 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
self.preorder(node[0])
|
||||
# 3.5 does jump optimization. The RETURN_END_IF in the return
|
||||
# statement means to dedent. Earlier versions will just have
|
||||
# RETURN_VALUE
|
||||
# RETURN_VALUE it is done by a nonterminal in the grammar.
|
||||
if self.version >= 3.5 and node[-1] == 'RETURN_END_IF':
|
||||
self.indentLess()
|
||||
self.println()
|
||||
|
Reference in New Issue
Block a user