summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.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/sys.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/sys.rst')
-rw-r--r--Doc/library/sys.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 34b8084..0e15467 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -1437,7 +1437,7 @@ always available.
On Windows, UTF-8 is used for the console device. Non-character
devices such as disk files and pipes use the system locale
encoding (i.e. the ANSI codepage). Non-console character
- devices such as NUL (i.e. where isatty() returns True) use the
+ devices such as NUL (i.e. where ``isatty()`` returns ``True``) use the
value of the console input and output codepages at startup,
respectively for stdin and stdout/stderr. This defaults to the
system locale encoding if the process is not initially attached