]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-101100: Fix sphinx warnings in `Doc/library/xml.etree.elementtree.rst`...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 24 Sep 2023 10:02:07 +0000 (03:02 -0700)
committerGitHub <noreply@github.com>
Sun, 24 Sep 2023 10:02:07 +0000 (10:02 +0000)
gh-101100: Fix sphinx warnings in `Doc/library/xml.etree.elementtree.rst` (GH-109799)
(cherry picked from commit 649768fb6781ba810df44017fee1975a11d65e2f)

gh-101100: Fix shpinx warnings in `Doc/library/xml.etree.elementtree.rst`

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Doc/library/xml.etree.elementtree.rst
Doc/tools/.nitignore

index 2fe0d2e082fb3a011b637a4e0521d8c5ad48c898..76c5b89ac6631618ccdace7b5f64939dc7a00c9d 100644 (file)
@@ -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` module is deprecated.
 
 
 .. warning::
@@ -825,6 +825,8 @@ Reference
 Functions
 ^^^^^^^^^
 
+.. module:: xml.etree.ElementInclude
+
 .. function:: xml.etree.ElementInclude.default_loader( href, parse, encoding=None)
    :module:
 
@@ -862,6 +864,9 @@ Functions
 Element Objects
 ^^^^^^^^^^^^^^^
 
+.. module:: xml.etree.ElementTree
+   :noindex:
+
 .. class:: Element(tag, attrib={}, **extra)
 
    Element class.  This class defines the Element interface, and provides a
index f9494ff51165b13f9ddd659aba2053b26fd6d8a3..149e19202a5f8640cb5aae333d6954dbefa22440 100644 (file)
@@ -141,7 +141,6 @@ Doc/library/wsgiref.rst
 Doc/library/xml.dom.minidom.rst
 Doc/library/xml.dom.pulldom.rst
 Doc/library/xml.dom.rst
-Doc/library/xml.etree.elementtree.rst
 Doc/library/xml.rst
 Doc/library/xml.sax.handler.rst
 Doc/library/xml.sax.reader.rst