mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-02-22 06:01:57 +00:00
Fix bug in 3.0 name module detection
This commit is contained in:
parent
ebad4e2a9a
commit
946d74ad36
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user