]> granicus.if.org Git - python/commitdiff
bpo-32701: Clarify the quotetabs flag in quopri documentation (GH-5401)
authorJulien Palard <julien@palard.fr>
Tue, 30 Jan 2018 03:36:06 +0000 (04:36 +0100)
committerMariatta <Mariatta@users.noreply.github.com>
Tue, 30 Jan 2018 03:36:06 +0000 (19:36 -0800)
Doc/library/quopri.rst

index a3f94a0ad0668ac3f25914d2dea8044c51b3e572..86717c00c3c1366cb2a5aa58e95dd984e88ebafa 100644 (file)
@@ -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`.