You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
Track recent lc changes in fragment semantics
This commit is contained in:
@@ -1047,8 +1047,9 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
|
||||
n = ast[iter_index]
|
||||
assert n == 'list_iter'
|
||||
|
||||
# find innermost node
|
||||
while n == 'list_iter': # list_iter
|
||||
while n == 'list_iter':
|
||||
n = n[0] # recurse one step
|
||||
if n == 'list_for':
|
||||
designator = n[2]
|
||||
@@ -1087,7 +1088,7 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
assert n == 'list_iter'
|
||||
|
||||
# find innermost node
|
||||
while n == 'list_iter': # list_iter
|
||||
while n == 'list_iter':
|
||||
n = n[0] # recurse one step
|
||||
if n == 'list_for':
|
||||
designator = n[2]
|
||||
|
Reference in New Issue
Block a user