Skip to content

Commit e028a72

Browse files
committed
fix: mypy errs
1 parent d709425 commit e028a72

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

mypyc/irbuild/ll_builder.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -798,10 +798,9 @@ def _construct_varargs(
798798
# fn(*args, **kwargs)
799799
star_result = value
800800
continue
801-
# TODO extend this to optimize fn(*args, k=1, **kwargs) case
802-
else:
803-
# TODO optimize this case using the length utils - currently in review
804-
star_result = self.new_list_op(star_values, line)
801+
# elif ...: TODO extend this to optimize fn(*args, k=1, **kwargs) case
802+
# TODO optimize this case using the length utils - currently in review
803+
star_result = self.new_list_op(star_values, line)
805804
self.primitive_op(list_extend_op, [star_result, value], line)
806805
elif kind == ARG_STAR2:
807806
if star2_result is None:

0 commit comments

Comments
 (0)