@@ -798,18 +798,18 @@ def _construct_varargs(
798798 if len (args ) == 1 :
799799 # fn(*args)
800800 if is_list_rprimitive (value .type ):
801- value = self .call_c (list_tuple_op , [value ], line )
801+ value = self .primitive_op (list_tuple_op , [value ], line )
802802 elif not is_tuple_rprimitive (value .type ):
803- value = self .call_c (sequence_tuple_op , [value ], line )
803+ value = self .primitive_op (sequence_tuple_op , [value ], line )
804804 return value , self ._create_dict ([], [], line )
805805 elif len (args ) == 2 and args [1 ][1 ] == ARG_STAR2 :
806806 # fn(*args, **kwargs)
807807 if is_tuple_rprimitive (value .type ):
808808 star_result = value
809809 elif is_list_rprimitive (value .type ):
810- star_result = self .call_c (list_tuple_op , [value ], line )
810+ star_result = self .primitive_op (list_tuple_op , [value ], line )
811811 else :
812- star_result = self .call_c (sequence_tuple_op , [value ], line )
812+ star_result = self .primitive_op (sequence_tuple_op , [value ], line )
813813 continue
814814 # elif ...: TODO extend this to optimize fn(*args, k=1, **kwargs) case
815815 # TODO optimize this case using the length utils - currently in review
0 commit comments