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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16954>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to