Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Cython / tests / run / cyfunction_METH_O_GH1728.pyx
Size: Mime:
# 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()