Message182261
| Author |
dlam |
| Recipients |
dlam, docs@python, eli.bendersky, ezio.melotti, serhiy.storchaka, tshepang |
| Date |
2013年02月17日.05:22:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1361078552.22.0.320453579799.issue16954@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|