[issue16954] Add docstrings for ElementTree module

Ezio Melotti report at bugs.python.org
Wed Feb 20 19:58:57 CET 2013


Ezio Melotti added the comment:

I left a few comments on rietveld.

In the rst docs the markup used for arguments is *arg*, and this is sometimes reflected in docstrings too.  We might want to do this here too, instead of using 'arg' (using 'attr' for attributes it's fine though).

> maybe docstrings should be also added in Modules/_elementtree.c?

Maybe we could have a loop that does something like cfunc.__doc__ = pyfunc.__doc__?

----------
stage: needs patch -> patch review

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16954>
_______________________________________


More information about the Python-bugs-list mailing list