[Cython] cdef class and docstrings
Stefan Behnel
stefan_ml at behnel.de
Thu Dec 11 18:07:23 CET 2008
Stefan Behnel wrote:
> David Cournapeau wrote:
>> I would prefer to have at
>> least the signature of __init__ (for default arguments)
>
> Cython can embed the signature of a function or method in its docstring.
> However, my guess is that this doesn't work for __init__ yet, where it
> would have to put it into the respective class (at least, there's no test
> for that).
Works now.
http://hg.cython.org/cython-devel/rev/31644ed14440
Stefan
More information about the Cython-dev
mailing list