]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
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)
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.

1  2 
Lib/test/test_xml_etree.py
Lib/xml/etree/ElementTree.py

Simple merge
Simple merge