]> granicus.if.org Git - python/commit
Issue #9708: Fix support for iterparse(parser=...) argument per documentation.
authorEli Bendersky <eliben@gmail.com>
Thu, 24 Jan 2013 15:15:46 +0000 (07:15 -0800)
committerEli Bendersky <eliben@gmail.com>
Thu, 24 Jan 2013 15:15:46 +0000 (07:15 -0800)
commitc4d5e08e3f5463272178ceb226bb7457890e81d3
tree3ca1a2dc94c84c77b182ad3fe5c050a265e705e0
parent5c6198b3fdecc12cfb6b5bec4d83a1f0ba422b12
parentaaa9780fe174a4ed5fc19df1d474fb802a19fa42
Issue #9708: Fix support for iterparse(parser=...) argument per documentation.

When _elementtree is imported, iterparse is redefined as a class and the parser
argument was ommitted. Fix this, and add a docstring to the class.
Lib/test/test_xml_etree.py
Lib/xml/etree/ElementTree.py