Skip to content

Commit 353bd24

Browse files
committed
chore: update IR
1 parent 0b06aef commit 353bd24

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

mypyc/test-data/irbuild-basic.test

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,9 +1698,8 @@ def h():
16981698
r6 :: ptr
16991699
r7, r8 :: object
17001700
r9 :: tuple
1701-
r10 :: dict
1702-
r11 :: object
1703-
r12 :: tuple[int, int, int]
1701+
r10 :: object
1702+
r11 :: tuple[int, int, int]
17041703
L0:
17051704
r0 = (4, 6)
17061705
r1 = __main__.globals :: static
@@ -1714,10 +1713,9 @@ L0:
17141713
r7 = box(tuple[int, int], r0)
17151714
r8 = CPyList_Extend(r4, r7)
17161715
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
1716+
r10 = PyObject_CallObject(r3, r9)
1717+
r11 = unbox(tuple[int, int, int], r10)
1718+
return r11
17211719

17221720
[case testStar2Args]
17231721
from typing import Tuple

0 commit comments

Comments
 (0)