Skip to content

Commit 9424dcb

Browse files
JulienPalardMariatta
authored andcommitted
bpo-32701: Clarify the quotetabs flag in quopri documentation (GH-5401)
1 parent 77526f0 commit 9424dcb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Doc/library/quopri.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ sending a graphics file.
3434

3535
Encode the contents of the *input* file and write the resulting quoted-printable
3636
data to the *output* file. *input* and *output* must be
37-
:term:`binary file objects <file object>`. *quotetabs*, a flag which controls
38-
whether to encode embedded spaces and tabs must be provideda and when true it
39-
encodes such embedded whitespace, and when false it leaves them unencoded.
37+
:term:`binary file objects <file object>`. *quotetabs*, a
38+
non-optional flag which controls whether to encode embedded spaces
39+
and tabs; when true it encodes such embedded whitespace, and when
40+
false it leaves them unencoded.
4041
Note that spaces and tabs appearing at the end of lines are always encoded,
4142
as per :rfc:`1521`. *header* is a flag which controls if spaces are encoded
4243
as underscores as per :rfc:`1522`.

0 commit comments

Comments
 (0)