summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/functions.rst4
-rw-r--r--Doc/library/unittest.rst2
-rw-r--r--Doc/library/urllib.parse.rst2
3 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 1303f1c..3db6cdf 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -454,8 +454,8 @@ are always available. They are listed here in alphabetical order.
sign: "+" | "-"
infinity: "Infinity" | "inf"
nan: "nan"
- numeric-value: `floatnumber` | `infinity` | `nan`
- numeric-string: [`sign`] `numeric-value`
+ numeric_value: `floatnumber` | `infinity` | `nan`
+ numeric_string: [`sign`] `numeric_value`
Here ``floatnumber`` is the form of a Python floating-point literal,
described in :ref:`floating`. Case is not significant, so, for example,
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 63ad705..75070f7 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -1879,7 +1879,7 @@ Loading and running tests
:ref:`deprecated unittest methods <deprecated-aliases>` are also
special-cased and, when the warning filters are ``'default'`` or ``'always'``,
they will appear only once per-module, in order to avoid too many warning
- messages. This behavior can be overridden using the :option`-Wd` or
+ messages. This behavior can be overridden using the :option:`-Wd` or
:option:`-Wa` options and leaving *warnings* to ``None``.
.. method:: _makeResult()
diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst
index 4528c40..e7a75ce 100644
--- a/Doc/library/urllib.parse.rst
+++ b/Doc/library/urllib.parse.rst
@@ -316,7 +316,7 @@ Structured Parse Results
------------------------
The result objects from the :func:`urlparse`, :func:`urlsplit` and
-:func:`urldefrag`functions are subclasses of the :class:`tuple` type.
+:func:`urldefrag` functions are subclasses of the :class:`tuple` type.
These subclasses add the attributes listed in the documentation for
those functions, the encoding and decoding support described in the
previous section, as well as an additional method: