Issue #25706: Fixed markup in the documentation.
This commit is contained in:
commit
f50fe724de
|
@ -322,7 +322,7 @@ Other objects
|
||||||
``Py_CLEANUP_SUPPORTED`` was added.
|
``Py_CLEANUP_SUPPORTED`` was added.
|
||||||
|
|
||||||
``p`` (:class:`bool`) [int]
|
``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.
|
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.
|
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
|
This accepts any valid Python value. See :ref:`truth` for more
|
||||||
|
|
|
@ -148,7 +148,7 @@ The modern interface provides:
|
||||||
instead of 4 consecutive spaces (ASCII 0x20) as supported by 'btoa'. This
|
instead of 4 consecutive spaces (ASCII 0x20) as supported by 'btoa'. This
|
||||||
feature is not supported by the "standard" Ascii85 encoding.
|
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
|
characters added to it. If this is non-zero, each output line will be
|
||||||
at most this many characters long.
|
at most this many characters long.
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ The modern interface provides:
|
||||||
.. versionadded:: 3.4
|
.. 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.
|
Decode an Ascii85 encoded byte string.
|
||||||
|
|
||||||
|
|
|
@ -2940,7 +2940,7 @@ place, and instead produce new objects.
|
||||||
|
|
||||||
Return true if all bytes in the sequence are ASCII whitespace and the
|
Return true if all bytes in the sequence are ASCII whitespace and the
|
||||||
sequence is not empty, false otherwise. ASCII whitespace characters are
|
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).
|
carriage return, vertical tab, form feed).
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue