]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Minor doc ReST fixes.
authorLarry Hastings <larry@hastings.org>
Mon, 18 Mar 2019 16:14:05 +0000 (09:14 -0700)
committerLarry Hastings <larry@hastings.org>
Mon, 18 Mar 2019 16:14:05 +0000 (09:14 -0700)
Doc/library/pyexpat.rst
Doc/library/stdtypes.rst
Doc/library/xml.dom.minidom.rst
Doc/library/xml.etree.elementtree.rst

index 620ffb1cd4cb4a5287de04c6dbe56046440d09d5..857d696285fe84cff89fca0e3bcec4393be3344d 100644 (file)
@@ -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.
index 8815d38921f99a0fcf005c5c3bbc10da62a97c08..bc2353e2fba5fb4d88db492eb599bf9a3ffa9792 100644 (file)
@@ -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
index 6762e9177fe43fe807f697b13b22150cc0ac9889..36982bd0dc2078ca26e141f62cd597d565a70e5c 100644 (file)
@@ -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.
index dc0274eb0bfe431ab7a154399d5a351758aed717..a31fdd4065cff1e173ea1fe2ebff382c40c610a6 100644 (file)
@@ -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.