[Cython] cdef class and docstrings
Dag Sverre Seljebotn
dagss at student.matnat.uio.no
Fri Dec 12 15:08:50 CET 2008
Stefan Behnel wrote:
> 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?
>
I listed the ones I added at
http://wiki.cython.org/enhancements/compilerdirectives, it should
probably be updated.
Dag Sverre
More information about the Cython-dev
mailing list