summaryrefslogtreecommitdiff
path: root/Doc/library/email.errors.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2019-11-12 16:57:03 +0200
committerGitHub <noreply@github.com>2019-11-12 16:57:03 +0200
commit138ccbb02216ca086047c3139857fb44f3dab1f9 (patch)
tree650ba3584d4d173fe36d757063909a09f239ebf2 /Doc/library/email.errors.rst
parent9a13a388f202268dd7b771638adbec132449b98b (diff)
downloadcpython-git-138ccbb02216ca086047c3139857fb44f3dab1f9.tar.gz
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/email.errors.rst')
-rw-r--r--Doc/library/email.errors.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/email.errors.rst b/Doc/library/email.errors.rst
index 511ad16358..f4b9f52509 100644
--- a/Doc/library/email.errors.rst
+++ b/Doc/library/email.errors.rst
@@ -99,7 +99,7 @@ All defect classes are subclassed from :class:`email.errors.MessageDefect`.
* :class:`MultipartInvariantViolationDefect` -- A message claimed to be a
:mimetype:`multipart`, but no subparts were found. Note that when a message
has this defect, its :meth:`~email.message.Message.is_multipart` method may
- return false even though its content type claims to be :mimetype:`multipart`.
+ return ``False`` even though its content type claims to be :mimetype:`multipart`.
* :class:`InvalidBase64PaddingDefect` -- When decoding a block of base64
encoded bytes, the padding was not correct. Enough padding is added to