Skip to content

Commit f5f96df

Browse files
Update ll_builder.py
1 parent f260ada commit f5f96df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mypyc/irbuild/ll_builder.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,8 +933,7 @@ def _construct_varargs(
933933
# tuple. Otherwise create the tuple from the list.
934934
if star_result is None:
935935
star_result = self.new_tuple(star_values, line)
936-
elif not is_tuple_rprimitive(star_result.type):
937-
# if star_result is a tuple we took the fast path
936+
else:
938937
star_result = self.primitive_op(list_tuple_op, [star_result], line)
939938
if has_star2 and star2_result is None:
940939
star2_result = self._create_dict(star2_keys, star2_values, line)

0 commit comments

Comments
 (0)