summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2019-03-18 09:14:05 -0700
committerLarry Hastings <larry@hastings.org>2019-03-18 09:14:05 -0700
commitd2eb6770e89b80a47dcb83d7569269f4b2df9f3a (patch)
tree4f6b500226a66add54e645cbe3e2fb620d0a92fb
parent42ad4101d3ba7ca3c371dadf0f8880764c9f15fb (diff)
downloadcpython-git-d2eb6770e89b80a47dcb83d7569269f4b2df9f3a.tar.gz
Minor doc ReST fixes.
-rw-r--r--Doc/library/pyexpat.rst2
-rw-r--r--Doc/library/stdtypes.rst2
-rw-r--r--Doc/library/xml.dom.minidom.rst2
-rw-r--r--Doc/library/xml.etree.elementtree.rst2
4 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst
index 620ffb1cd4..857d696285 100644
--- a/Doc/library/pyexpat.rst
+++ b/Doc/library/pyexpat.rst
@@ -865,7 +865,7 @@ The ``errors`` module has the following attributes:
.. rubric:: Footnotes
-.. [#] The encoding string included in XML output should conform to the
+.. [1] The encoding string included in XML output should conform to the
appropriate standards. For example, "UTF-8" is valid, but "UTF8" is
not. See http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl
and http://www.iana.org/assignments/character-sets/character-sets.xhtml.
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 8815d38921..bc2353e2fb 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -826,7 +826,7 @@ restrictions imposed by *s*.
The ``in`` and ``not in`` operations have the same priorities as the
comparison operations. The ``+`` (concatenation) and ``*`` (repetition)
-operations have the same priority as the corresponding numeric operations.
+operations have the same priority as the corresponding numeric operations. [3]_
.. index::
triple: operations on; sequence; types
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst
index 6762e9177f..36982bd0dc 100644
--- a/Doc/library/xml.dom.minidom.rst
+++ b/Doc/library/xml.dom.minidom.rst
@@ -247,7 +247,7 @@ utility to most DOM users.
.. rubric:: Footnotes
-.. [#] The encoding name included in the XML output should conform to
+.. [1] The encoding name included in the XML output should conform to
the appropriate standards. For example, "UTF-8" is valid, but
"UTF8" is not valid in an XML document's declaration, even though
Python accepts it as an encoding name.
diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst
index dc0274eb0b..a31fdd4065 100644
--- a/Doc/library/xml.etree.elementtree.rst
+++ b/Doc/library/xml.etree.elementtree.rst
@@ -1187,7 +1187,7 @@ Exceptions
.. rubric:: Footnotes
-.. [#] The encoding string included in XML output should conform to the
+.. [1] The encoding string included in XML output should conform to the
appropriate standards. For example, "UTF-8" is valid, but "UTF8" is
not. See http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl
and http://www.iana.org/assignments/character-sets/character-sets.xhtml.