[docs] [issue16954] Add docstrings for ElementTree module

David Lam report at bugs.python.org
Sun Feb 17 06:22:33 CET 2013


David Lam added the comment:

Here's a patch which converts all the Doxygen comments in ElementTree.py to docstrings!

Something I noticed was that the 

  from _elementtree import *

...at the bottom of ElementTree.py sort of overwrites the docstrings of the Python module.  So if you did...  `from xml.etree import ElementTree;  help(ElementTree)` from the interpreter, you'll see blank spots for a bunch of classes/methods like Element, ParseError, SubElement etc etc

maybe docstrings should be also added in Modules/_elementtree.c?  perhaps that would be too much copy and pastage, hmmm

----------
keywords: +patch
Added file: http://bugs.python.org/file29095/issue16954.patch

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


More information about the docs mailing list