We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a41e7 commit ee10f39Copy full SHA for ee10f39
mypyc/test-data/irbuild-tuple.test
@@ -1196,8 +1196,7 @@ def f():
1196
r4 :: i32
1197
r5 :: bit
1198
r6 :: short_int
1199
- r7 :: object
1200
- r8 :: tuple
+ r7 :: tuple
1201
L0:
1202
r0 = PyList_New(0)
1203
r1 = 0
@@ -1215,9 +1214,8 @@ L3:
1215
1214
r1 = r6
1216
goto L1
1217
L4:
1218
- r7 = PyObject_GetIter(r0)
1219
- r8 = PySequence_Tuple(r7)
1220
- return r8
+ r7 = PyList_AsTuple(r0)
+ return r7
1221
def f2():
1222
r0 :: list
1223
r1 :: short_int
0 commit comments