Skip to content

Commit 6f1d455

Browse files
[3.12] gh-101100: Fix sphinx warnings in Doc/library/xml.etree.elementtree.rst (GH-109799) (#109800)
gh-101100: Fix sphinx warnings in `Doc/library/xml.etree.elementtree.rst` (GH-109799) (cherry picked from commit 649768f) gh-101100: Fix shpinx warnings in `Doc/library/xml.etree.elementtree.rst` Co-authored-by: Nikita Sobolev <[email protected]>
1 parent 2622b13 commit 6f1d455

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Doc/library/xml.etree.elementtree.rst

+6-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ for parsing and creating XML data.
1717
This module will use a fast implementation whenever available.
1818

1919
.. deprecated:: 3.3
20-
The :mod:`xml.etree.cElementTree` module is deprecated.
20+
The :mod:`!xml.etree.cElementTree` module is deprecated.
2121

2222

2323
.. warning::
@@ -825,6 +825,8 @@ Reference
825825
Functions
826826
^^^^^^^^^
827827

828+
.. module:: xml.etree.ElementInclude
829+
828830
.. function:: xml.etree.ElementInclude.default_loader( href, parse, encoding=None)
829831
:module:
830832

@@ -862,6 +864,9 @@ Functions
862864
Element Objects
863865
^^^^^^^^^^^^^^^
864866

867+
.. module:: xml.etree.ElementTree
868+
:noindex:
869+
865870
.. class:: Element(tag, attrib={}, **extra)
866871

867872
Element class. This class defines the Element interface, and provides a

Doc/tools/.nitignore

-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ Doc/library/xdrlib.rst
154154
Doc/library/xml.dom.minidom.rst
155155
Doc/library/xml.dom.pulldom.rst
156156
Doc/library/xml.dom.rst
157-
Doc/library/xml.etree.elementtree.rst
158157
Doc/library/xml.rst
159158
Doc/library/xml.sax.handler.rst
160159
Doc/library/xml.sax.reader.rst

0 commit comments

Comments
 (0)