Stefan Behnel added the comment: I'm not entirely happy about the docs anyway. Most people just want to loop over iterparse() and be done (use case being to save memory). The new parser class is a rather special and more complex thing that we shouldn't let innocent users run into that easily. But that's a different ticket, I guess, and in no way time critical.
I can't see a reference to "parser.root" in the ElementTree doc page, BTW, so maybe there's just nothing to do there? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18990> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com