Merge branch 'master' into python-2.4

This commit is contained in:
rocky
2019-06-29 15:57:22 -04:00
15 changed files with 84 additions and 72 deletions

View File

@@ -671,6 +671,11 @@ class SourceWalker(GenericASTTraversal, object):
n = n[0][0]
elif n[0].kind in ('lastc_stmt', 'lastl_stmt'):
n = n[0]
if n[0].kind in ('ifstmt', 'iflaststmt', 'ifelsestmtl'):
# This seems needed for Python 2.5-2.7
n = n[0]
pass
pass
else:
if not preprocess:
self.default(node)