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 d709425 commit e028a72Copy full SHA for e028a72
mypyc/irbuild/ll_builder.py
@@ -798,10 +798,9 @@ def _construct_varargs(
798
# fn(*args, **kwargs)
799
star_result = value
800
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)
+ # elif ...: TODO extend this to optimize fn(*args, k=1, **kwargs) case
+ # TODO optimize this case using the length utils - currently in review
+ star_result = self.new_list_op(star_values, line)
805
self.primitive_op(list_extend_op, [star_result, value], line)
806
elif kind == ARG_STAR2:
807
if star2_result is None:
0 commit comments