@@ -813,14 +813,16 @@ def _construct_varargs(
813813 star_result = self .primitive_op (list_tuple_op , [value ], line )
814814 else :
815815 star_result = self .primitive_op (sequence_tuple_op , [value ], line )
816-
816+
817817 star2_arg = args [1 ]
818818 star2_value = star2_arg [0 ]
819819 if is_dict_rprimitive (star2_value .type ):
820820 star2_fastpath_op = dict_copy_op
821821 else :
822822 star2_fastpath_op = dict_copy
823- return star_result , self .primitive_op (star2_fastpath_op , [star2_value ], line )
823+ return star_result , self .primitive_op (
824+ star2_fastpath_op , [star2_value ], line
825+ )
824826 # elif ...: TODO extend this to optimize fn(*args, k=1, **kwargs) case
825827 # TODO optimize this case using the length utils - currently in review
826828 star_result = self .new_list_op (star_values , line )
@@ -834,7 +836,9 @@ def _construct_varargs(
834836 star2_fastpath_op = dict_copy_op
835837 else :
836838 star2_fastpath_op = dict_copy
837- return self .new_tuple ([], line ), self .primitive_op (star2_fastpath_op , [value ], line )
839+ return self .new_tuple ([], line ), self .primitive_op (
840+ star2_fastpath_op , [value ], line
841+ )
838842
839843 star2_result = self ._create_dict (star2_keys , star2_values , line )
840844
0 commit comments