]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94383: Remove ElementTree.Element.copy() method (#94384)
authorVictor Stinner <vstinner@python.org>
Mon, 4 Jul 2022 13:51:01 +0000 (15:51 +0200)
committerGitHub <noreply@github.com>
Mon, 4 Jul 2022 13:51:01 +0000 (15:51 +0200)
commitfd76eb547dd5d2c8307a89422049b6c3c80541ab
treeeec381f9b383e10a3e0e56233431242adb75957f
parentfbcee570d1e15e5260a456cb71c8b0897dc76237
gh-94383: Remove ElementTree.Element.copy() method (#94384)

xml.etree: Remove the ElementTree.Element.copy() method of the pure
Python implementation, deprecated in Python 3.10, use the copy.copy()
function instead. The C implementation of xml.etree has no copy()
method, only a __copy__() method.
Doc/whatsnew/3.12.rst
Lib/test/test_xml_etree.py
Lib/xml/etree/ElementTree.py
Misc/NEWS.d/next/Library/2022-06-28-14-41-22.gh-issue-94383.CXnquo.rst [new file with mode: 0644]