gh-114737: Revert change to ElementTree.iterparse "root" attribute (G… · python/cpython@66f95ea · GitHub
Skip to content

Commit 66f95ea

Browse files
authored
gh-114737: Revert change to ElementTree.iterparse "root" attribute (GH-114755)
Prior to gh-114269, the iterator returned by ElementTree.iterparse was initialized with the root attribute as None. This restores the previous behavior.
1 parent b7688ef commit 66f95ea

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lib/test/test_xml_etree.py

Lines changed: 2 additions & 0 deletions

Lib/xml/etree/ElementTree.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)