From d1d04940f8c259aea925da570ab09796e7551a81 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 3 Sep 2026 12:29:47 +0300 Subject: [PATCH] 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. (cherry picked from commit 50ed1ec6ca07e14d2b501a14a059c8a5f91782b4) Co-authored-by: Serhiy Storchaka --- Doc/library/xml.etree.elementtree.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst index 80af5c2835b2de7..f21fbe2d0b47940 100644 --- a/Doc/library/xml.etree.elementtree.rst +++ b/Doc/library/xml.etree.elementtree.rst @@ -17,7 +17,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::