Re: [melbourne-pug] Docstring parsing and formatting

2012-09-17 Thread Josh Bode
Hi Ben, I haven't seen anything for PEP 257, but there is the numpy docstring formatting standard that is used to produce the numpy documentation in Sphinx. The docstring (module, class, function) is written in RestructuredText, for example (numpy.arange.__doc__): """ arange([start,] s

[melbourne-pug] Docstring parsing and formatting

2012-09-17 Thread Ben Finney
Howdy all, Where can I find a standard implementation of the docstring parsing and splitting algorithm from PEP 257? PEP 257 describes a convention of structure and formatting for docstrings http://www.python.org/dev/peps/pep-0257/>. Docstrings that conform to this convention can therefore be pa