[docs] [issue19452] ElementTree iterparse documentation

Stefan Behnel report at bugs.python.org
Wed Oct 30 17:41:13 CET 2013


Stefan Behnel added the comment:

How about actually allowing a list in addition to a tuple? And, in fact, any sequence? I can't see a reason not to.

For reference, lxml only expects it to be either None or an iterable. Essentially, I consider it more of a set-like filter, since the linear aspect of a tuple/list/sequence has no meaning for it.

----------
components: +XML
nosy: +eli.bendersky, scoder
type:  -> behavior

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


More information about the docs mailing list