Stefan Behnel wrote at 2012-6-28 09:25 +0200: >Dieter Maurer, 28.06.2012 09:04: >> ... >> In this case, I suggest to enhance the >> function's docstring by signature information. >> >> I now transform manually my docstrings >> >> def <rv> <f>(<signature>): >> """<header> >> >> <detail> >> """ >> >> into: >> >> def <rv> <f>(<signature>): >> """<f>(<signature>) -> <rv>: <header> >> >> <detail> >> """ >> >> and would be happy to get something similar automatically. > >And the time machine strikes again. You can use the "embedsignature" >compiler option for that. > >http://docs.cython.org/src/reference/compilation.html?highlight=embedsignature#compiler-directives
Thank you! I missed this part of the documentation. -- Dieter _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel