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/library/os.rst | |
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/library/os.rst')
-rw-r--r-- | Doc/library/os.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 67fe36b..e3f8977 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -148,7 +148,7 @@ process and user. versa). :data:`environb` is only available if :data:`supports_bytes_environ` is - True. + ``True``. .. versionadded:: 3.2 @@ -236,7 +236,7 @@ process and user. *default* if it doesn't. *key*, *default* and the result are bytes. :func:`getenvb` is only available if :data:`supports_bytes_environ` - is True. + is ``True``. .. availability:: most flavors of Unix. |