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:
rocky
2016-07-14 20:02:47 -04:00
parent c9d1f72424
commit 0ee52aeeef
5 changed files with 13 additions and 14 deletions

View File

@@ -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()