You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Weird 2.6.9 list comprehension
This commit is contained in:
@@ -1067,6 +1067,7 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
|
||||
n = ast[iter_index]
|
||||
assert n == 'comp_iter'
|
||||
|
||||
# find innermost node
|
||||
while n == 'comp_iter': # list_iter
|
||||
n = n[0] # recurse one step
|
||||
|
Reference in New Issue
Block a user