Re: [docs] Provide some examples for usage of ElementTree methods/attributes (issue 15586)

Aug. 14, 2012
4:29 a.m.
http://bugs.python.org/review/15586/diff/5726/Doc/library/xml.etree.elementt... File Doc/library/xml.etree.elementtree.rst (right): http://bugs.python.org/review/15586/diff/5726/Doc/library/xml.etree.elementt... Doc/library/xml.etree.elementtree.rst:102: import xml.etree.ElementTree as ET Please fix this similarly to my fix for the 3.3 patch The parse method you call returns an element, not a tree, and anyway there's a shorter way (ET.parse function) http://bugs.python.org/review/15586/diff/5726/Doc/library/xml.etree.elementt... Doc/library/xml.etree.elementtree.rst:111: :func:`fromstring` parses XML from a string directly into an :class:`Element`, Please also align here for the fixed 3.3 patch http://bugs.python.org/review/15586/
4575
Age (days ago)
4575
Last active (days ago)
0 comments
1 participants
participants (1)
-
eliben@gmail.com