Commit 50e7a673 authored by Jeroen Demeyer's avatar Jeroen Demeyer
parent c20e8c19
# cython: binding=True
# mode: run
# tag: cyfunction
cdef class TestMethodOneArg:
def meth(self, arg):
pass
def call_meth(x):
"""
>>> call_meth(TestMethodOneArg())
Traceback (most recent call last):
...
TypeError: meth() takes exactly one argument (0 given)
"""
return x.meth()
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