[Cython] cdef class and docstrings

Stefan Behnel stefan_ml at behnel.de
Fri Dec 12 14:54:25 CET 2008


Hi,

David Cournapeau wrote:
> I tried using cython-devel with your including changes, and I can't
> see any difference, but maybe I am not looking at the right place (the
> signature is supposed to be in Yo.__doc__, right ?)

Yes, but the feature is not enabled by default. Put

	#cython: embedsignature=True

at the top of your file.

Does anyone know if that's already documented somewhere? I.e., is there a
place where all compiler directives are listed?

Stefan



More information about the Cython-dev mailing list