summaryrefslogtreecommitdiffstats
path: root/Doc/library/stringprep.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-11-12 14:57:03 (GMT)
committerGitHub <noreply@github.com>2019-11-12 14:57:03 (GMT)
commit138ccbb02216ca086047c3139857fb44f3dab1f9 (patch)
tree650ba3584d4d173fe36d757063909a09f239ebf2 /Doc/library/stringprep.rst
parent9a13a388f202268dd7b771638adbec132449b98b (diff)
downloadcpython-138ccbb02216ca086047c3139857fb44f3dab1f9.zip
cpython-138ccbb02216ca086047c3139857fb44f3dab1f9.tar.gz
cpython-138ccbb02216ca086047c3139857fb44f3dab1f9.tar.bz2
bpo-38738: Fix formatting of True and False. (GH-17083)
* "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>".
Diffstat (limited to 'Doc/library/stringprep.rst')
-rw-r--r--Doc/library/stringprep.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stringprep.rst b/Doc/library/stringprep.rst
index 330032b..5cfb533 100644
--- a/Doc/library/stringprep.rst
+++ b/Doc/library/stringprep.rst
@@ -34,7 +34,7 @@ itself was generated using the ``mkstringprep.py`` utility.
As a result, these tables are exposed as functions, not as data structures.
There are two kinds of tables in the RFC: sets and mappings. For a set,
:mod:`stringprep` provides the "characteristic function", i.e. a function that
-returns true if the parameter is part of the set. For mappings, it provides the
+returns ``True`` if the parameter is part of the set. For mappings, it provides the
mapping function: given the key, it returns the associated value. Below is a
list of all functions available in the module.