[Cython] cdef class and docstrings

Stefan Behnel stefan_ml at behnel.de
Thu Dec 11 07:14:36 CET 2008


Hi,

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). Sounds like a bug to me.

Stefan



More information about the Cython-dev mailing list