diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2019-11-12 14:57:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-12 14:57:03 (GMT) |
commit | 138ccbb02216ca086047c3139857fb44f3dab1f9 (patch) | |
tree | 650ba3584d4d173fe36d757063909a09f239ebf2 /Doc/library/wsgiref.rst | |
parent | 9a13a388f202268dd7b771638adbec132449b98b (diff) | |
download | cpython-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/wsgiref.rst')
-rw-r--r-- | Doc/library/wsgiref.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/wsgiref.rst b/Doc/library/wsgiref.rst index 6edd071..1e30aa4 100644 --- a/Doc/library/wsgiref.rst +++ b/Doc/library/wsgiref.rst @@ -144,7 +144,7 @@ also provides these miscellaneous utilities: .. function:: is_hop_by_hop(header_name) - Return true if 'header_name' is an HTTP/1.1 "Hop-by-Hop" header, as defined by + Return ``True`` if 'header_name' is an HTTP/1.1 "Hop-by-Hop" header, as defined by :rfc:`2616`. |