Is there any reasonable way to attach docstrings to 'cdef public' 
attributes?  The following does not work:

cdef class Spam:
     cdef public int spam:
         """
             Docstring for spam.
         """

spam.pyx:2:9: Suite attached to non-function declaration

Thanks,
Jason
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to