Hi,
I'm a having a weird problem with module docstrings using Cython
0.9.8.1.1. It seems that if a module contains any comments before the
docstring, it is simply ignored (module.__doc__ is None). The docstring
doesn't even appear in the .c file. FWIW, neither Pyrex nor Python
exhibits this behavior.
A workaround is to explicitly assign it to a variable __doc__:
# Header comment
__doc__ = \
"""
Module docstring.
"""
Thanks,
Andrew Collette
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev