Skip to content

Commit 649768f

Browse files
authored
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`
1 parent 51863b7 commit 649768f

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
@@ -139,7 +139,6 @@ Doc/library/wsgiref.rst
139139
Doc/library/xml.dom.minidom.rst
140140
Doc/library/xml.dom.pulldom.rst
141141
Doc/library/xml.dom.rst
142-
Doc/library/xml.etree.elementtree.rst
143142
Doc/library/xml.rst
144143
Doc/library/xml.sax.handler.rst
145144
Doc/library/xml.sax.reader.rst

0 commit comments

Comments
 (0)