]> granicus.if.org Git - python/commitdiff
Issue #25706: Fixed markup in the documentation.
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 23 Nov 2015 14:43:05 +0000 (16:43 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 23 Nov 2015 14:43:05 +0000 (16:43 +0200)
Doc/c-api/arg.rst
Doc/library/base64.rst
Doc/library/stdtypes.rst

index 3c0f4b98cdbaa9a57b080f180b41d1c19f2b44d5..8427bc4d133f97914eae6ec424bce61ca3d2c41a 100644 (file)
@@ -322,7 +322,7 @@ Other objects
       ``Py_CLEANUP_SUPPORTED`` was added.
 
 ``p`` (:class:`bool`) [int]
-   Tests the value passed in for truth (a boolean **p**\redicate) and converts
+   Tests the value passed in for truth (a boolean **p**\ redicate) and converts
    the result to its equivalent C true/false integer value.
    Sets the int to 1 if the expression was true and 0 if it was false.
    This accepts any valid Python value.  See :ref:`truth` for more
index 3d23dfc765df1724628a9d247e936738202292fb..eba4b36e8a2eff780bbc5d95c735b4c6aabf84d4 100644 (file)
@@ -148,7 +148,7 @@ The modern interface provides:
    instead of 4 consecutive spaces (ASCII 0x20) as supported by 'btoa'. This
    feature is not supported by the "standard" Ascii85 encoding.
 
-   *wrapcol* controls whether the output should have newline ('\n')
+   *wrapcol* controls whether the output should have newline (``'\n'``)
    characters added to it. If this is non-zero, each output line will be
    at most this many characters long.
 
@@ -161,7 +161,7 @@ The modern interface provides:
    .. versionadded:: 3.4
 
 
-.. function:: a85decode(s, *, foldspaces=False, adobe=False, ignorechars=b' \t\n\r\v')
+.. function:: a85decode(s, *, foldspaces=False, adobe=False, ignorechars=b' \\t\\n\\r\\v')
 
    Decode an Ascii85 encoded byte string.
 
index fdb5e9e16d275fc37306fd0c0009fa8dc858e257..4e75e1c7eb61a4f70b05140e61dbbd45a1e5e2c0 100644 (file)
@@ -2904,7 +2904,7 @@ place, and instead produce new objects.
 
    Return true if all bytes in the sequence are ASCII whitespace and the
    sequence is not empty, false otherwise.  ASCII whitespace characters are
-   those byte values in the sequence b' \t\n\r\x0b\f' (space, tab, newline,
+   those byte values in the sequence ``b' \t\n\r\x0b\f'`` (space, tab, newline,
    carriage return, vertical tab, form feed).