@@ -799,18 +799,18 @@ def _construct_varargs(
799799 if len (args ) == 1 :
800800 # fn(*args)
801801 if is_list_rprimitive (value .type ):
802- value = self .call_c (list_tuple_op , [value ], line )
802+ value = self .primitive_op (list_tuple_op , [value ], line )
803803 elif not is_tuple_rprimitive (value .type ):
804- value = self .call_c (sequence_tuple_op , [value ], line )
804+ value = self .primitive_op (sequence_tuple_op , [value ], line )
805805 return value , self ._create_dict ([], [], line )
806806 elif len (args ) == 2 and args [1 ][1 ] == ARG_STAR2 :
807807 # fn(*args, **kwargs)
808808 if is_tuple_rprimitive (value .type ):
809809 star_result = value
810810 elif is_list_rprimitive (value .type ):
811- star_result = self .call_c (list_tuple_op , [value ], line )
811+ star_result = self .primitive_op (list_tuple_op , [value ], line )
812812 else :
813- star_result = self .call_c (sequence_tuple_op , [value ], line )
813+ star_result = self .primitive_op (sequence_tuple_op , [value ], line )
814814 continue
815815 # elif ...: TODO extend this to optimize fn(*args, k=1, **kwargs) case
816816 # TODO optimize this case using the length utils - currently in review
0 commit comments