You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Fix bug in 3.0 name module detection
This commit is contained in:
@@ -2283,6 +2283,8 @@ class SourceWalker(GenericASTTraversal, object):
|
|||||||
if first_stmt == "store_locals":
|
if first_stmt == "store_locals":
|
||||||
if self.hide_internal:
|
if self.hide_internal:
|
||||||
del ast[0]
|
del ast[0]
|
||||||
|
if ast[0] == "sstmt":
|
||||||
|
ast[0] = ast[0][0]
|
||||||
first_stmt = ast[0]
|
first_stmt = ast[0]
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
Reference in New Issue
Block a user