summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-11-12 16:54:10 (GMT)
committerGitHub <noreply@github.com>2019-11-12 16:54:10 (GMT)
commitd360346640e19231032b072216195484fa2450b4 (patch)
tree3944c610d7a2b3cbe6a08fbd69ebdace8659a8a1 /Doc/library/os.rst
parent29fd6a77d509cffacc5691ebd9dab53455ad959e (diff)
downloadcpython-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.rst4
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.