You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Sync with other versions
This commit is contained in:
@@ -1259,7 +1259,7 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
|
||||
have_not = False
|
||||
|
||||
# Iterate to find the innermost store
|
||||
# Iterate to find the inner-most "store".
|
||||
# We'll come back to the list iteration below.
|
||||
|
||||
while n in ("list_iter", "list_afor", "list_afor2", "comp_iter"):
|
||||
@@ -1400,7 +1400,7 @@ class SourceWalker(GenericASTTraversal, object):
|
||||
list_if = None
|
||||
assert n == "comp_iter"
|
||||
|
||||
# find innermost node
|
||||
# Find inner-most node.
|
||||
while n == "comp_iter":
|
||||
n = n[0] # recurse one step
|
||||
# FIXME: adjust for set comprehension
|
||||
|
Reference in New Issue
Block a user