Commit cf7d7053 authored by Stefan Behnel's avatar Stefan Behnel

test case for #408

parent 7ab3978c
......@@ -7,3 +7,4 @@ numpy_ValueError_T172
unsignedbehaviour_T184
missing_baseclass_in_predecl_T262
tp_new_T454
cfunc_call_tuple_args_T408
__doc__ = """
>>> call_with_tuple(1, 1.2, 'test', [1,2,3])
(1, 1.2, 'test', [1, 2, 3])
>>> call_with_list(1, 1.2, None, None)
(1, 1.2, None, None)
"""
cdef c_function(int a, float b, c, list d):
return a,b,c,d
def call_with_tuple(*args):
return c_function(*args)
def call_with_list(*args):
args = list(args)
return c_function(*args)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment