diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2019-11-12 16:54:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-12 16:54:10 (GMT) |
commit | d360346640e19231032b072216195484fa2450b4 (patch) | |
tree | 3944c610d7a2b3cbe6a08fbd69ebdace8659a8a1 /Doc/tools | |
parent | 29fd6a77d509cffacc5691ebd9dab53455ad959e (diff) | |
download | cpython-d360346640e19231032b072216195484fa2450b4.zip cpython-d360346640e19231032b072216195484fa2450b4.tar.gz cpython-d360346640e19231032b072216195484fa2450b4.tar.bz2 |
[3.8] bpo-38738: Fix formatting of True and False. (GH-17083) (GH-17125)
* "Return true/false" is replaced with "Return ``True``/``False``"
if the function actually returns a bool.
* Fixed formatting of some True and False literals (now in monospace).
* Replaced "True/False" with "true/false" if it can be not only bool.
* Replaced some 1/0 with True/False if it corresponds the code.
* "Returns <bool>" is replaced with "Return <bool>".
(cherry picked from commit 138ccbb02216ca086047c3139857fb44f3dab1f9)
Diffstat (limited to 'Doc/tools')
-rw-r--r-- | Doc/tools/susp-ignored.csv | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index e86786a..586b5db 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -238,9 +238,9 @@ library/urllib.request,,:password,"""joe:password@python.org""" library/urllib.parse,,:scheme,<URL:scheme://host/path> library/urllib.parse,,:scheme,URL:scheme://host/path library/uuid,,:uuid,urn:uuid:12345678-1234-5678-1234-567812345678 -library/venv,,:param,":param nodist: If True, setuptools and pip are not installed into the" +library/venv,,:param,":param nodist: If true, setuptools and pip are not installed into the" library/venv,,:param,":param progress: If setuptools or pip are installed, the progress of the" -library/venv,,:param,":param nopip: If True, pip is not installed into the created" +library/venv,,:param,":param nopip: If true, pip is not installed into the created" library/venv,,:param,:param context: The information for the virtual environment library/xmlrpc.client,,:nil,ex:nil library/xmlrpc.client,,:pass,http://user:pass@host:port/path |