[New-bugs-announce] [issue12321] documentation of ElementTree.find

patrick vrijlandt report at bugs.python.org
Mon Jun 13 11:49:21 CEST 2011


New submission from patrick vrijlandt <patrick.vrijlandt at gmail.com>:

>From the python docs for version 3.2:

19.12.3. ElementTree Objects
find(match)
[...] Same as getroot().find(match). [...]

This is not true: tree.find accepts an absolute path (like "/*") , whereas element.find doesn't. Also applies to findall and findtext.

----------
components: XML
messages: 138228
nosy: patrick.vrijlandt
priority: normal
severity: normal
status: open
title: documentation of ElementTree.find
type: behavior
versions: Python 3.2

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


More information about the New-bugs-announce mailing list