You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +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 self.hide_internal:
|
||||
del ast[0]
|
||||
if ast[0] == "sstmt":
|
||||
ast[0] = ast[0][0]
|
||||
first_stmt = ast[0]
|
||||
except:
|
||||
pass
|
||||
|
Reference in New Issue
Block a user