New submission from anatoly techtonik :
ElementTree.find(path) docs say:
"Finds the first toplevel element with given tag. Same as getroot().find(path). path is the element to look for."
That's not true. path can take the form of "//tag" to find any child element with given tag, not strictly top level.
----------
assignee: docs@python
components: Documentation
messages: 129847
nosy: docs@python, techtonik
priority: normal
severity: normal
status: open
title: xml.etree.ElementTree.find(all): docs are wrong
versions: Python 2.6
_______________________________________
Python tracker
http://bugs.python.org/issue11367
_______________________________________