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 141e4dd commit b13aaa2Copy full SHA for b13aaa2
mypyc/irbuild/ll_builder.py
@@ -799,7 +799,9 @@ def _construct_varargs(
799
# fn(*args)
800
if is_list_rprimitive(value.type):
801
value = self.primitive_op(list_tuple_op, [value], line)
802
- elif not is_tuple_rprimitive(value.type) and not isinstance(value.type, RTuple):
+ elif not is_tuple_rprimitive(value.type) and not isinstance(
803
+ value.type, RTuple
804
+ ):
805
value = self.primitive_op(sequence_tuple_op, [value], line)
806
return value, self._create_dict([], [], line)
807
elif len(args) == 2 and args[1][1] == ARG_STAR2:
0 commit comments