]> granicus.if.org Git - python/commitdiff
Fix markup errors.
authorGeorg Brandl <georg@python.org>
Sat, 4 Dec 2010 19:06:18 +0000 (19:06 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 4 Dec 2010 19:06:18 +0000 (19:06 +0000)
Doc/library/functions.rst
Doc/library/unittest.rst
Doc/library/urllib.parse.rst

index 1303f1c40f2c3c8464beb8a4615f889947a3b08b..3db6cdf2ccb441002270f43ab1acd5dd300383cb 100644 (file)
@@ -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,
index 63ad705220edf09d9b09de1bf5e0cb5a5d0b54e5..75070f76cb6c7b174e51f99389f2f61198ddae4b 100644 (file)
@@ -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()
index 4528c404427e700548da2af808dad2a3f71429e4..e7a75ce4a6b337cf2ae93b78442229067f0f1145 100644 (file)
@@ -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: