Skip to content

Commit b13aaa2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 141e4dd commit b13aaa2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypyc/irbuild/ll_builder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,9 @@ def _construct_varargs(
799799
# fn(*args)
800800
if is_list_rprimitive(value.type):
801801
value = self.primitive_op(list_tuple_op, [value], line)
802-
elif not is_tuple_rprimitive(value.type) and not isinstance(value.type, RTuple):
802+
elif not is_tuple_rprimitive(value.type) and not isinstance(
803+
value.type, RTuple
804+
):
803805
value = self.primitive_op(sequence_tuple_op, [value], line)
804806
return value, self._create_dict([], [], line)
805807
elif len(args) == 2 and args[1][1] == ARG_STAR2:

0 commit comments

Comments
 (0)