1# ticket: 408 2 3__doc__ = """ 4>>> call_with_tuple(1, 1.2, 'test', [1,2,3]) 5(1, 1.2, 'test', [1, 2, 3]) 6 7>>> call_with_list(1, 1.2, None, None) 8(1, 1.2, None, None) 9""" 10 11cdef c_function(int a, float b, c, list d): 12 return a,b,c,d 13 14def call_with_tuple(*args): 15 return c_function(*args) 16 17def call_with_list(*args): 18 args = list(args) 19 return c_function(*args) 20