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 <rep...@bugs.python.org>
<http://bugs.python.org/issue24724>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to