summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-09-24 09:49:02 (GMT)
committerGitHub <noreply@github.com>2023-09-24 09:49:02 (GMT)
commit649768fb6781ba810df44017fee1975a11d65e2f (patch)
tree6733e37119101696f6aa92838fef0ec3d9f01e36
parent51863b7d6ea183167da09fc6b3f2745a1aaa4ef5 (diff)
downloadcpython-649768fb6781ba810df44017fee1975a11d65e2f.zip
cpython-649768fb6781ba810df44017fee1975a11d65e2f.tar.gz
cpython-649768fb6781ba810df44017fee1975a11d65e2f.tar.bz2
gh-101100: Fix sphinx warnings in `Doc/library/xml.etree.elementtree.rst` (#109799)
gh-101100: Fix shpinx warnings in `Doc/library/xml.etree.elementtree.rst`
-rw-r--r--Doc/library/xml.etree.elementtree.rst7
-rw-r--r--Doc/tools/.nitignore1
2 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst
index f9290f5..54c9300 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` 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
diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore
index 39a1099..487652f 100644
--- a/Doc/tools/.nitignore
+++ b/Doc/tools/.nitignore
@@ -139,7 +139,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