Port over some recent decompyle3 3.8 fixes

This commit is contained in:
rocky
2022-06-26 04:26:15 -04:00
parent 7f798541f0
commit 85ba8352ba
7 changed files with 219 additions and 5 deletions

View File

@@ -302,6 +302,9 @@ class ComprehensionMixin:
store = set_iter_async[1]
assert store == "store"
n = set_iter_async[2]
elif node == "list_comp" and tree[0] == "expr":
tree = tree[0][0]
n = tree[iter_index]
else:
n = tree[iter_index]