]> 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:19 +0000 (07:15 -0800)
committerEli Bendersky <eliben@gmail.com>
Thu, 24 Jan 2013 15:15:19 +0000 (07:15 -0800)
commitaaa9780fe174a4ed5fc19df1d474fb802a19fa42
tree0a0e72d20d261b78355b511629d158c1ad08bc1c
parent33f7cdd9751b23b4ab5b9419c1209dc30c86fa39
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