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 0b06aef commit 353bd24Copy full SHA for 353bd24
mypyc/test-data/irbuild-basic.test
@@ -1698,9 +1698,8 @@ def h():
1698
r6 :: ptr
1699
r7, r8 :: object
1700
r9 :: tuple
1701
- r10 :: dict
1702
- r11 :: object
1703
- r12 :: tuple[int, int, int]
+ r10 :: object
+ r11 :: tuple[int, int, int]
1704
L0:
1705
r0 = (4, 6)
1706
r1 = __main__.globals :: static
@@ -1714,10 +1713,9 @@ L0:
1714
1713
r7 = box(tuple[int, int], r0)
1715
r8 = CPyList_Extend(r4, r7)
1716
r9 = PyList_AsTuple(r4)
1717
- r10 = PyDict_New()
1718
- r11 = PyObject_Call(r3, r9, r10)
1719
- r12 = unbox(tuple[int, int, int], r11)
1720
- return r12
+ r10 = PyObject_CallObject(r3, r9)
+ r11 = unbox(tuple[int, int, int], r10)
+ return r11
1721
1722
[case testStar2Args]
1723
from typing import Tuple
0 commit comments