Merge branch 'master' into python-2.4

This commit is contained in:
rocky
2020-02-10 18:26:56 -05:00
9 changed files with 94 additions and 20 deletions

View File

@@ -2283,6 +2283,8 @@ class SourceWalker(GenericASTTraversal, object):
if first_stmt == "store_locals":
if self.hide_internal:
del ast[0]
if ast[0] == "sstmt":
ast[0] = ast[0][0]
first_stmt = ast[0]
except:
pass