[New-bugs-announce] [issue11367] xml.etree.ElementTree.find(all): docs are wrong

anatoly techtonik report at bugs.python.org
Wed Mar 2 02:44:31 CET 2011

New submission from anatoly techtonik <techtonik at gmail.com>:

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 at python
components: Documentation
messages: 129847
nosy: docs at python, techtonik
priority: normal
severity: normal
status: open
title: xml.etree.ElementTree.find(all): docs are wrong
versions: Python 2.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list