cdefoptargs.pyx 151 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
def call5():
    b(1,2,3,4,5)

cdef b(a, b, c=1, d=2):
    pass

_ERRORS = """
2:5:Call with wrong number of arguments (expected at most 4, got 5)
"""