https://github.com/python/cpython/commit/50ed1ec6ca07e14d2b501a14a059c8a5f91782b4
commit: 50ed1ec6ca07e14d2b501a14a059c8a5f91782b4
branch: main
author: Serhiy Storchaka <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2026-09-03T12:29:47+03:00
summary:

gh-128805: Clarify the deprecation notice of xml.etree.cElementTree (GH-156779)

It was read as deprecating xml.etree.ElementTree itself, because the page
does not mention cElementTree anywhere else.

files:
M Doc/library/xml.etree.elementtree.rst

diff --git a/Doc/library/xml.etree.elementtree.rst 
b/Doc/library/xml.etree.elementtree.rst
index ec272a076c902b..7948b2ed78f4d0 100644
--- a/Doc/library/xml.etree.elementtree.rst
+++ b/Doc/library/xml.etree.elementtree.rst
@@ -15,7 +15,7 @@ for parsing and creating XML data.
    This module will use a fast implementation whenever available.
 
 .. deprecated:: 3.3
-   The :mod:`!xml.etree.cElementTree` module is deprecated.
+   The :mod:`!xml.etree.cElementTree` alias of this module is deprecated.
 
 
 .. note::

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to