From: Georg Brandl Date: Sat, 4 Dec 2010 19:06:18 +0000 (+0000) Subject: Fix markup errors. X-Git-Tag: v3.2b1~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46402378ca894bc9ffabb05fc2c59e2d124b41e9;p=python Fix markup errors. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 1303f1c40f..3db6cdf2cc 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 63ad705220..75070f76cb 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 4528c40442..e7a75ce4a6 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: