[Numpy-discussion] Moving docstrings from C to Python

David Huard david.huard at gmail.com
Fri Jul 28 10:11:30 CDT 2006


2006/7/28, Stefan van der Walt <stefan at sun.ac.za>:
>
> Hi,
>
> Travis recently advertised the add_docstring and add_newdoc functions,
> which are used to add documentation to functions written in C.  This
> brings the advantage that you don't have to recompile everytime you
> change a docstrings, and also that the docstrings are much simpler to
> format (no more "\n\" tokens all over the place).
>
> I took all the docstrings from numpy.core.src.multiarray and formatted
> them to be used with add_docstring.  I have two questions:
>
> Would anyone mind if the change was made?


I don't, I wanted to do the same thing.

numpy/add_newdocs.py
+1

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060728/1a2325af/attachment-0001.html 


More information about the Numpy-discussion mailing list