From 46402378ca894bc9ffabb05fc2c59e2d124b41e9 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 4 Dec 2010 19:06:18 +0000 Subject: [PATCH] Fix markup errors. --- Doc/library/functions.rst | 4 ++-- Doc/library/unittest.rst | 2 +- Doc/library/urllib.parse.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 1303f1c40f2c..3db6cdf2ccb4 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 63ad705220ed..75070f76cb6c 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -1879,7 +1879,7 @@ Loading and running tests :ref:`deprecated unittest methods ` 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 4528c404427e..e7a75ce4a6b3 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: -- 2.47.3