Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1f84765

Browse files
Issue #25706: Fixed markup in the documentation.
2 parents 6f988b5 + bf7b9ed commit 1f84765

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/c-api/arg.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ Other objects
322322
``Py_CLEANUP_SUPPORTED`` was added.
323323

324324
``p`` (:class:`bool`) [int]
325-
Tests the value passed in for truth (a boolean **p**\redicate) and converts
325+
Tests the value passed in for truth (a boolean **p**\ redicate) and converts
326326
the result to its equivalent C true/false integer value.
327327
Sets the int to 1 if the expression was true and 0 if it was false.
328328
This accepts any valid Python value. See :ref:`truth` for more

Doc/library/base64.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ The modern interface provides:
148148
instead of 4 consecutive spaces (ASCII 0x20) as supported by 'btoa'. This
149149
feature is not supported by the "standard" Ascii85 encoding.
150150

151-
*wrapcol* controls whether the output should have newline ('\n')
151+
*wrapcol* controls whether the output should have newline (``'\n'``)
152152
characters added to it. If this is non-zero, each output line will be
153153
at most this many characters long.
154154

@@ -161,7 +161,7 @@ The modern interface provides:
161161
.. versionadded:: 3.4
162162

163163

164-
.. function:: a85decode(s, *, foldspaces=False, adobe=False, ignorechars=b' \t\n\r\v')
164+
.. function:: a85decode(s, *, foldspaces=False, adobe=False, ignorechars=b' \\t\\n\\r\\v')
165165

166166
Decode an Ascii85 encoded byte string.
167167

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2940,7 +2940,7 @@ place, and instead produce new objects.
29402940

29412941
Return true if all bytes in the sequence are ASCII whitespace and the
29422942
sequence is not empty, false otherwise. ASCII whitespace characters are
2943-
those byte values in the sequence b' \t\n\r\x0b\f' (space, tab, newline,
2943+
those byte values in the sequence ``b' \t\n\r\x0b\f'`` (space, tab, newline,
29442944
carriage return, vertical tab, form feed).
29452945

29462946

0 commit comments

Comments
 (0)