[issue24724] Element.findall documentation misleading

Eric S report at bugs.python.org
Sun Jul 26 05:35:13 CEST 2015


New submission from Eric S:

Documentation states:
Element.findall() finds only elements with a tag which are direct children of the current element.

More accurate to say "direct descendents" as "direct children" implies only one generation below whereas function goes down to all g...children. For-looping findall with inner recursion to rebuild hierarchy as dict, etc. can cause very large tree.

----------
messages: 247404
nosy: Eric S
priority: normal
severity: normal
status: open
title: Element.findall documentation misleading

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


More information about the Python-bugs-list mailing list