[issue24724] Element.findall documentation misleading

Raymond Hettinger report at bugs.python.org
Sun Jul 26 06:58:52 CEST 2015


Raymond Hettinger added the comment:

The phrase occurs in https://docs.python.org/3/library/xml.etree.elementtree.html#finding-interesting-elements

I think it should say, "In this example, Element.findall() finds only elements with a tag which are direct children of the current element."

Later it accurately says that, "More sophisticated specification of which elements to look for is possible by using XPath."

----------
assignee:  -> rhettinger
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list