@@ -55,6 +55,9 @@ def to_tuple(t):
55
55
"del v" ,
56
56
# Assign
57
57
"v = 1" ,
58
+ "a,b = c" ,
59
+ "(a,b) = c" ,
60
+ "[a,b] = c" ,
58
61
# AugAssign
59
62
"v += 1" ,
60
63
# For
@@ -90,9 +93,8 @@ def to_tuple(t):
90
93
"for v in v:continue" ,
91
94
# for statements with naked tuples (see http://bugs.python.org/issue6704)
92
95
"for a,b in c: pass" ,
93
- "[(a,b) for a,b in c]" ,
94
- "((a,b) for a,b in c)" ,
95
- "((a,b) for (a,b) in c)" ,
96
+ "for (a,b) in c: pass" ,
97
+ "for [a,b] in c: pass" ,
96
98
# Multiline generator expression (test for .lineno & .col_offset)
97
99
"""(
98
100
(
@@ -130,6 +132,8 @@ def to_tuple(t):
130
132
"@deco1\n @deco2()\n async def f(): pass" ,
131
133
# Decorated ClassDef
132
134
"@deco1\n @deco2()\n class C: pass" ,
135
+ # Decorator with generator argument
136
+ "@deco(a for a in b)\n def f(): pass" ,
133
137
]
134
138
135
139
# These are compiled through "single"
@@ -168,12 +172,24 @@ def to_tuple(t):
168
172
"[a for b in c if d]" ,
169
173
# GeneratorExp
170
174
"(a for b in c if d)" ,
175
+ # Comprehensions with multiple for targets
176
+ "[(a,b) for a,b in c]" ,
177
+ "[(a,b) for (a,b) in c]" ,
178
+ "[(a,b) for [a,b] in c]" ,
179
+ "{(a,b) for a,b in c}" ,
180
+ "{(a,b) for (a,b) in c}" ,
181
+ "{(a,b) for [a,b] in c}" ,
182
+ "((a,b) for a,b in c)" ,
183
+ "((a,b) for (a,b) in c)" ,
184
+ "((a,b) for [a,b] in c)" ,
171
185
# Yield - yield expressions can't work outside a function
172
186
#
173
187
# Compare
174
188
"1 < 2 < 3" ,
175
189
# Call
176
190
"f(1,2,c=3,*d,**e)" ,
191
+ # Call with a generator argument
192
+ "f(a for a in b)" ,
177
193
# Num
178
194
"10" ,
179
195
# Str
@@ -1266,6 +1282,9 @@ def main():
1266
1282
('Module' , [('FunctionDef' , (1 , 0 ), 'f' , ('arguments' , [], None , [], [], None , []), [('Return' , (1 , 8 ), ('Constant' , (1 , 15 ), 1 ))], [], None )]),
1267
1283
('Module' , [('Delete' , (1 , 0 ), [('Name' , (1 , 4 ), 'v' , ('Del' ,))])]),
1268
1284
('Module' , [('Assign' , (1 , 0 ), [('Name' , (1 , 0 ), 'v' , ('Store' ,))], ('Constant' , (1 , 4 ), 1 ))]),
1285
+ ('Module' , [('Assign' , (1 , 0 ), [('Tuple' , (1 , 0 ), [('Name' , (1 , 0 ), 'a' , ('Store' ,)), ('Name' , (1 , 2 ), 'b' , ('Store' ,))], ('Store' ,))], ('Name' , (1 , 6 ), 'c' , ('Load' ,)))]),
1286
+ ('Module' , [('Assign' , (1 , 0 ), [('Tuple' , (1 , 0 ), [('Name' , (1 , 1 ), 'a' , ('Store' ,)), ('Name' , (1 , 3 ), 'b' , ('Store' ,))], ('Store' ,))], ('Name' , (1 , 8 ), 'c' , ('Load' ,)))]),
1287
+ ('Module' , [('Assign' , (1 , 0 ), [('List' , (1 , 0 ), [('Name' , (1 , 1 ), 'a' , ('Store' ,)), ('Name' , (1 , 3 ), 'b' , ('Store' ,))], ('Store' ,))], ('Name' , (1 , 8 ), 'c' , ('Load' ,)))]),
1269
1288
('Module' , [('AugAssign' , (1 , 0 ), ('Name' , (1 , 0 ), 'v' , ('Store' ,)), ('Add' ,), ('Constant' , (1 , 5 ), 1 ))]),
1270
1289
('Module' , [('For' , (1 , 0 ), ('Name' , (1 , 4 ), 'v' , ('Store' ,)), ('Name' , (1 , 9 ), 'v' , ('Load' ,)), [('Pass' , (1 , 11 ))], [])]),
1271
1290
('Module' , [('While' , (1 , 0 ), ('Name' , (1 , 6 ), 'v' , ('Load' ,)), [('Pass' , (1 , 8 ))], [])]),
@@ -1284,10 +1303,9 @@ def main():
1284
1303
('Module' , [('For' , (1 , 0 ), ('Name' , (1 , 4 ), 'v' , ('Store' ,)), ('Name' , (1 , 9 ), 'v' , ('Load' ,)), [('Break' , (1 , 11 ))], [])]),
1285
1304
('Module' , [('For' , (1 , 0 ), ('Name' , (1 , 4 ), 'v' , ('Store' ,)), ('Name' , (1 , 9 ), 'v' , ('Load' ,)), [('Continue' , (1 , 11 ))], [])]),
1286
1305
('Module' , [('For' , (1 , 0 ), ('Tuple' , (1 , 4 ), [('Name' , (1 , 4 ), 'a' , ('Store' ,)), ('Name' , (1 , 6 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 11 ), 'c' , ('Load' ,)), [('Pass' , (1 , 14 ))], [])]),
1287
- ('Module' , [('Expr' , (1 , 0 ), ('ListComp' , (1 , 1 ), ('Tuple' , (1 , 2 ), [('Name' , (1 , 2 ), 'a' , ('Load' ,)), ('Name' , (1 , 4 ), 'b' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('Tuple' , (1 , 11 ), [('Name' , (1 , 11 ), 'a' , ('Store' ,)), ('Name' , (1 , 13 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 18 ), 'c' , ('Load' ,)), [], 0 )]))]),
1288
- ('Module' , [('Expr' , (1 , 0 ), ('GeneratorExp' , (1 , 1 ), ('Tuple' , (1 , 2 ), [('Name' , (1 , 2 ), 'a' , ('Load' ,)), ('Name' , (1 , 4 ), 'b' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('Tuple' , (1 , 11 ), [('Name' , (1 , 11 ), 'a' , ('Store' ,)), ('Name' , (1 , 13 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 18 ), 'c' , ('Load' ,)), [], 0 )]))]),
1289
- ('Module' , [('Expr' , (1 , 0 ), ('GeneratorExp' , (1 , 1 ), ('Tuple' , (1 , 2 ), [('Name' , (1 , 2 ), 'a' , ('Load' ,)), ('Name' , (1 , 4 ), 'b' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('Tuple' , (1 , 12 ), [('Name' , (1 , 12 ), 'a' , ('Store' ,)), ('Name' , (1 , 14 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 20 ), 'c' , ('Load' ,)), [], 0 )]))]),
1290
- ('Module' , [('Expr' , (1 , 0 ), ('GeneratorExp' , (2 , 4 ), ('Tuple' , (3 , 4 ), [('Name' , (3 , 4 ), 'Aa' , ('Load' ,)), ('Name' , (5 , 7 ), 'Bb' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('Tuple' , (8 , 4 ), [('Name' , (8 , 4 ), 'Aa' , ('Store' ,)), ('Name' , (10 , 4 ), 'Bb' , ('Store' ,))], ('Store' ,)), ('Name' , (10 , 10 ), 'Cc' , ('Load' ,)), [], 0 )]))]),
1306
+ ('Module' , [('For' , (1 , 0 ), ('Tuple' , (1 , 4 ), [('Name' , (1 , 5 ), 'a' , ('Store' ,)), ('Name' , (1 , 7 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 13 ), 'c' , ('Load' ,)), [('Pass' , (1 , 16 ))], [])]),
1307
+ ('Module' , [('For' , (1 , 0 ), ('List' , (1 , 4 ), [('Name' , (1 , 5 ), 'a' , ('Store' ,)), ('Name' , (1 , 7 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 13 ), 'c' , ('Load' ,)), [('Pass' , (1 , 16 ))], [])]),
1308
+ ('Module' , [('Expr' , (1 , 0 ), ('GeneratorExp' , (1 , 0 ), ('Tuple' , (2 , 4 ), [('Name' , (3 , 4 ), 'Aa' , ('Load' ,)), ('Name' , (5 , 7 ), 'Bb' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('Tuple' , (8 , 4 ), [('Name' , (8 , 4 ), 'Aa' , ('Store' ,)), ('Name' , (10 , 4 ), 'Bb' , ('Store' ,))], ('Store' ,)), ('Name' , (10 , 10 ), 'Cc' , ('Load' ,)), [], 0 )]))]),
1291
1309
('Module' , [('Expr' , (1 , 0 ), ('DictComp' , (1 , 0 ), ('Name' , (1 , 1 ), 'a' , ('Load' ,)), ('Name' , (1 , 5 ), 'b' , ('Load' ,)), [('comprehension' , ('Name' , (1 , 11 ), 'w' , ('Store' ,)), ('Name' , (1 , 16 ), 'x' , ('Load' ,)), [], 0 ), ('comprehension' , ('Name' , (1 , 22 ), 'm' , ('Store' ,)), ('Name' , (1 , 27 ), 'p' , ('Load' ,)), [('Name' , (1 , 32 ), 'g' , ('Load' ,))], 0 )]))]),
1292
1310
('Module' , [('Expr' , (1 , 0 ), ('DictComp' , (1 , 0 ), ('Name' , (1 , 1 ), 'a' , ('Load' ,)), ('Name' , (1 , 5 ), 'b' , ('Load' ,)), [('comprehension' , ('Tuple' , (1 , 11 ), [('Name' , (1 , 11 ), 'v' , ('Store' ,)), ('Name' , (1 , 13 ), 'w' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 18 ), 'x' , ('Load' ,)), [], 0 )]))]),
1293
1311
('Module' , [('Expr' , (1 , 0 ), ('SetComp' , (1 , 0 ), ('Name' , (1 , 1 ), 'r' , ('Load' ,)), [('comprehension' , ('Name' , (1 , 7 ), 'l' , ('Store' ,)), ('Name' , (1 , 12 ), 'x' , ('Load' ,)), [('Name' , (1 , 17 ), 'g' , ('Load' ,))], 0 )]))]),
@@ -1297,10 +1315,11 @@ def main():
1297
1315
('Module' , [('AsyncFunctionDef' , (1 , 0 ), 'f' , ('arguments' , [], None , [], [], None , []), [('AsyncWith' , (2 , 1 ), [('withitem' , ('Name' , (2 , 12 ), 'a' , ('Load' ,)), ('Name' , (2 , 17 ), 'b' , ('Store' ,)))], [('Expr' , (2 , 20 ), ('Constant' , (2 , 20 ), 1 ))])], [], None )]),
1298
1316
('Module' , [('Expr' , (1 , 0 ), ('Dict' , (1 , 0 ), [None , ('Constant' , (1 , 10 ), 2 )], [('Dict' , (1 , 3 ), [('Constant' , (1 , 4 ), 1 )], [('Constant' , (1 , 6 ), 2 )]), ('Constant' , (1 , 12 ), 3 )]))]),
1299
1317
('Module' , [('Expr' , (1 , 0 ), ('Set' , (1 , 0 ), [('Starred' , (1 , 1 ), ('Set' , (1 , 2 ), [('Constant' , (1 , 3 ), 1 ), ('Constant' , (1 , 6 ), 2 )]), ('Load' ,)), ('Constant' , (1 , 10 ), 3 )]))]),
1300
- ('Module' , [('AsyncFunctionDef' , (1 , 0 ), 'f' , ('arguments' , [], None , [], [], None , []), [('Expr' , (2 , 1 ), ('ListComp' , (2 , 2 ), ('Name' , (2 , 2 ), 'i' , ('Load' ,)), [('comprehension' , ('Name' , (2 , 14 ), 'b' , ('Store' ,)), ('Name' , (2 , 19 ), 'c' , ('Load' ,)), [], 1 )]))], [], None )]),
1318
+ ('Module' , [('AsyncFunctionDef' , (1 , 0 ), 'f' , ('arguments' , [], None , [], [], None , []), [('Expr' , (2 , 1 ), ('ListComp' , (2 , 1 ), ('Name' , (2 , 2 ), 'i' , ('Load' ,)), [('comprehension' , ('Name' , (2 , 14 ), 'b' , ('Store' ,)), ('Name' , (2 , 19 ), 'c' , ('Load' ,)), [], 1 )]))], [], None )]),
1301
1319
('Module' , [('FunctionDef' , (3 , 0 ), 'f' , ('arguments' , [], None , [], [], None , []), [('Pass' , (3 , 9 ))], [('Name' , (1 , 1 ), 'deco1' , ('Load' ,)), ('Call' , (2 , 0 ), ('Name' , (2 , 1 ), 'deco2' , ('Load' ,)), [], [])], None )]),
1302
1320
('Module' , [('AsyncFunctionDef' , (3 , 0 ), 'f' , ('arguments' , [], None , [], [], None , []), [('Pass' , (3 , 15 ))], [('Name' , (1 , 1 ), 'deco1' , ('Load' ,)), ('Call' , (2 , 0 ), ('Name' , (2 , 1 ), 'deco2' , ('Load' ,)), [], [])], None )]),
1303
1321
('Module' , [('ClassDef' , (3 , 0 ), 'C' , [], [], [('Pass' , (3 , 9 ))], [('Name' , (1 , 1 ), 'deco1' , ('Load' ,)), ('Call' , (2 , 0 ), ('Name' , (2 , 1 ), 'deco2' , ('Load' ,)), [], [])])]),
1322
+ ('Module' , [('FunctionDef' , (2 , 0 ), 'f' , ('arguments' , [], None , [], [], None , []), [('Pass' , (2 , 9 ))], [('Call' , (1 , 1 ), ('Name' , (1 , 1 ), 'deco' , ('Load' ,)), [('GeneratorExp' , (1 , 5 ), ('Name' , (1 , 6 ), 'a' , ('Load' ,)), [('comprehension' , ('Name' , (1 , 12 ), 'a' , ('Store' ,)), ('Name' , (1 , 17 ), 'b' , ('Load' ,)), [], 0 )])], [])], None )]),
1304
1323
]
1305
1324
single_results = [
1306
1325
('Interactive' , [('Expr' , (1 , 0 ), ('BinOp' , (1 , 0 ), ('Constant' , (1 , 0 ), 1 ), ('Add' ,), ('Constant' , (1 , 2 ), 2 )))]),
@@ -1315,10 +1334,20 @@ def main():
1315
1334
('Expression' , ('Dict' , (1 , 0 ), [], [])),
1316
1335
('Expression' , ('Set' , (1 , 0 ), [('Constant' , (1 , 1 ), None )])),
1317
1336
('Expression' , ('Dict' , (1 , 0 ), [('Constant' , (2 , 6 ), 1 )], [('Constant' , (4 , 10 ), 2 )])),
1318
- ('Expression' , ('ListComp' , (1 , 1 ), ('Name' , (1 , 1 ), 'a' , ('Load' ,)), [('comprehension' , ('Name' , (1 , 7 ), 'b' , ('Store' ,)), ('Name' , (1 , 12 ), 'c' , ('Load' ,)), [('Name' , (1 , 17 ), 'd' , ('Load' ,))], 0 )])),
1319
- ('Expression' , ('GeneratorExp' , (1 , 1 ), ('Name' , (1 , 1 ), 'a' , ('Load' ,)), [('comprehension' , ('Name' , (1 , 7 ), 'b' , ('Store' ,)), ('Name' , (1 , 12 ), 'c' , ('Load' ,)), [('Name' , (1 , 17 ), 'd' , ('Load' ,))], 0 )])),
1337
+ ('Expression' , ('ListComp' , (1 , 0 ), ('Name' , (1 , 1 ), 'a' , ('Load' ,)), [('comprehension' , ('Name' , (1 , 7 ), 'b' , ('Store' ,)), ('Name' , (1 , 12 ), 'c' , ('Load' ,)), [('Name' , (1 , 17 ), 'd' , ('Load' ,))], 0 )])),
1338
+ ('Expression' , ('GeneratorExp' , (1 , 0 ), ('Name' , (1 , 1 ), 'a' , ('Load' ,)), [('comprehension' , ('Name' , (1 , 7 ), 'b' , ('Store' ,)), ('Name' , (1 , 12 ), 'c' , ('Load' ,)), [('Name' , (1 , 17 ), 'd' , ('Load' ,))], 0 )])),
1339
+ ('Expression' , ('ListComp' , (1 , 0 ), ('Tuple' , (1 , 1 ), [('Name' , (1 , 2 ), 'a' , ('Load' ,)), ('Name' , (1 , 4 ), 'b' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('Tuple' , (1 , 11 ), [('Name' , (1 , 11 ), 'a' , ('Store' ,)), ('Name' , (1 , 13 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 18 ), 'c' , ('Load' ,)), [], 0 )])),
1340
+ ('Expression' , ('ListComp' , (1 , 0 ), ('Tuple' , (1 , 1 ), [('Name' , (1 , 2 ), 'a' , ('Load' ,)), ('Name' , (1 , 4 ), 'b' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('Tuple' , (1 , 11 ), [('Name' , (1 , 12 ), 'a' , ('Store' ,)), ('Name' , (1 , 14 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 20 ), 'c' , ('Load' ,)), [], 0 )])),
1341
+ ('Expression' , ('ListComp' , (1 , 0 ), ('Tuple' , (1 , 1 ), [('Name' , (1 , 2 ), 'a' , ('Load' ,)), ('Name' , (1 , 4 ), 'b' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('List' , (1 , 11 ), [('Name' , (1 , 12 ), 'a' , ('Store' ,)), ('Name' , (1 , 14 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 20 ), 'c' , ('Load' ,)), [], 0 )])),
1342
+ ('Expression' , ('SetComp' , (1 , 0 ), ('Tuple' , (1 , 1 ), [('Name' , (1 , 2 ), 'a' , ('Load' ,)), ('Name' , (1 , 4 ), 'b' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('Tuple' , (1 , 11 ), [('Name' , (1 , 11 ), 'a' , ('Store' ,)), ('Name' , (1 , 13 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 18 ), 'c' , ('Load' ,)), [], 0 )])),
1343
+ ('Expression' , ('SetComp' , (1 , 0 ), ('Tuple' , (1 , 1 ), [('Name' , (1 , 2 ), 'a' , ('Load' ,)), ('Name' , (1 , 4 ), 'b' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('Tuple' , (1 , 11 ), [('Name' , (1 , 12 ), 'a' , ('Store' ,)), ('Name' , (1 , 14 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 20 ), 'c' , ('Load' ,)), [], 0 )])),
1344
+ ('Expression' , ('SetComp' , (1 , 0 ), ('Tuple' , (1 , 1 ), [('Name' , (1 , 2 ), 'a' , ('Load' ,)), ('Name' , (1 , 4 ), 'b' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('List' , (1 , 11 ), [('Name' , (1 , 12 ), 'a' , ('Store' ,)), ('Name' , (1 , 14 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 20 ), 'c' , ('Load' ,)), [], 0 )])),
1345
+ ('Expression' , ('GeneratorExp' , (1 , 0 ), ('Tuple' , (1 , 1 ), [('Name' , (1 , 2 ), 'a' , ('Load' ,)), ('Name' , (1 , 4 ), 'b' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('Tuple' , (1 , 11 ), [('Name' , (1 , 11 ), 'a' , ('Store' ,)), ('Name' , (1 , 13 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 18 ), 'c' , ('Load' ,)), [], 0 )])),
1346
+ ('Expression' , ('GeneratorExp' , (1 , 0 ), ('Tuple' , (1 , 1 ), [('Name' , (1 , 2 ), 'a' , ('Load' ,)), ('Name' , (1 , 4 ), 'b' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('Tuple' , (1 , 11 ), [('Name' , (1 , 12 ), 'a' , ('Store' ,)), ('Name' , (1 , 14 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 20 ), 'c' , ('Load' ,)), [], 0 )])),
1347
+ ('Expression' , ('GeneratorExp' , (1 , 0 ), ('Tuple' , (1 , 1 ), [('Name' , (1 , 2 ), 'a' , ('Load' ,)), ('Name' , (1 , 4 ), 'b' , ('Load' ,))], ('Load' ,)), [('comprehension' , ('List' , (1 , 11 ), [('Name' , (1 , 12 ), 'a' , ('Store' ,)), ('Name' , (1 , 14 ), 'b' , ('Store' ,))], ('Store' ,)), ('Name' , (1 , 20 ), 'c' , ('Load' ,)), [], 0 )])),
1320
1348
('Expression' , ('Compare' , (1 , 0 ), ('Constant' , (1 , 0 ), 1 ), [('Lt' ,), ('Lt' ,)], [('Constant' , (1 , 4 ), 2 ), ('Constant' , (1 , 8 ), 3 )])),
1321
1349
('Expression' , ('Call' , (1 , 0 ), ('Name' , (1 , 0 ), 'f' , ('Load' ,)), [('Constant' , (1 , 2 ), 1 ), ('Constant' , (1 , 4 ), 2 ), ('Starred' , (1 , 10 ), ('Name' , (1 , 11 ), 'd' , ('Load' ,)), ('Load' ,))], [('keyword' , 'c' , ('Constant' , (1 , 8 ), 3 )), ('keyword' , None , ('Name' , (1 , 15 ), 'e' , ('Load' ,)))])),
1350
+ ('Expression' , ('Call' , (1 , 0 ), ('Name' , (1 , 0 ), 'f' , ('Load' ,)), [('GeneratorExp' , (1 , 1 ), ('Name' , (1 , 2 ), 'a' , ('Load' ,)), [('comprehension' , ('Name' , (1 , 8 ), 'a' , ('Store' ,)), ('Name' , (1 , 13 ), 'b' , ('Load' ,)), [], 0 )])], [])),
1322
1351
('Expression' , ('Constant' , (1 , 0 ), 10 )),
1323
1352
('Expression' , ('Constant' , (1 , 0 ), 'string' )),
1324
1353
('Expression' , ('Attribute' , (1 , 0 ), ('Name' , (1 , 0 ), 'a' , ('Load' ,)), 'b' , ('Load' ,))),
@@ -1327,7 +1356,7 @@ def main():
1327
1356
('Expression' , ('List' , (1 , 0 ), [('Constant' , (1 , 1 ), 1 ), ('Constant' , (1 , 3 ), 2 ), ('Constant' , (1 , 5 ), 3 )], ('Load' ,))),
1328
1357
('Expression' , ('List' , (1 , 0 ), [], ('Load' ,))),
1329
1358
('Expression' , ('Tuple' , (1 , 0 ), [('Constant' , (1 , 0 ), 1 ), ('Constant' , (1 , 2 ), 2 ), ('Constant' , (1 , 4 ), 3 )], ('Load' ,))),
1330
- ('Expression' , ('Tuple' , (1 , 1 ), [('Constant' , (1 , 1 ), 1 ), ('Constant' , (1 , 3 ), 2 ), ('Constant' , (1 , 5 ), 3 )], ('Load' ,))),
1359
+ ('Expression' , ('Tuple' , (1 , 0 ), [('Constant' , (1 , 1 ), 1 ), ('Constant' , (1 , 3 ), 2 ), ('Constant' , (1 , 5 ), 3 )], ('Load' ,))),
1331
1360
('Expression' , ('Tuple' , (1 , 0 ), [], ('Load' ,))),
1332
1361
('Expression' , ('Call' , (1 , 0 ), ('Attribute' , (1 , 0 ), ('Attribute' , (1 , 0 ), ('Attribute' , (1 , 0 ), ('Name' , (1 , 0 ), 'a' , ('Load' ,)), 'b' , ('Load' ,)), 'c' , ('Load' ,)), 'd' , ('Load' ,)), [('Subscript' , (1 , 8 ), ('Attribute' , (1 , 8 ), ('Name' , (1 , 8 ), 'a' , ('Load' ,)), 'b' , ('Load' ,)), ('Slice' , ('Constant' , (1 , 12 ), 1 ), ('Constant' , (1 , 14 ), 2 ), None ), ('Load' ,))], [])),
1333
1362
]
0 commit comments