[Python-checkins] bpo-32701: Clarify the quotetabs flag in quopri documentation (GH-5401) (GH-5438)
Mariatta
webhook-mailer at python.org
Mon Jan 29 23:16:24 EST 2018
https://github.com/python/cpython/commit/04f99ba9d7186278eaf072e9a62c03aa63a8a6bb
commit: 04f99ba9d7186278eaf072e9a62c03aa63a8a6bb
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2018-01-29T20:16:21-08:00
summary:
bpo-32701: Clarify the quotetabs flag in quopri documentation (GH-5401) (GH-5438)
(cherry picked from commit 9424dcbb3e20a26dfdd81659303b989f7d3da044)
Co-authored-by: Julien Palard <julien at palard.fr>
files:
M Doc/library/quopri.rst
diff --git a/Doc/library/quopri.rst b/Doc/library/quopri.rst
index a3f94a0ad066..86717c00c3c1 100644
--- a/Doc/library/quopri.rst
+++ b/Doc/library/quopri.rst
@@ -34,9 +34,10 @@ sending a graphics file.
Encode the contents of the *input* file and write the resulting quoted-printable
data to the *output* file. *input* and *output* must be
- :term:`binary file objects <file object>`. *quotetabs*, a flag which controls
- whether to encode embedded spaces and tabs must be provideda and when true it
- encodes such embedded whitespace, and when false it leaves them unencoded.
+ :term:`binary file objects <file object>`. *quotetabs*, a
+ non-optional flag which controls whether to encode embedded spaces
+ and tabs; when true it encodes such embedded whitespace, and when
+ false it leaves them unencoded.
Note that spaces and tabs appearing at the end of lines are always encoded,
as per :rfc:`1521`. *header* is a flag which controls if spaces are encoded
as underscores as per :rfc:`1522`.
More information about the Python-checkins
mailing list