mirror of
https://github.com/python/cpython.git
synced 2025-10-01 04:42:10 +00:00
bpo-32701: Clarify the quotetabs flag in quopri documentation (GH-5401) (GH-5438)
(cherry picked from commit 9424dcbb3e
)
Co-authored-by: Julien Palard <julien@palard.fr>
This commit is contained in:
parent
6ea75b174d
commit
04f99ba9d7
1 changed files with 4 additions and 3 deletions
|
@ -34,9 +34,10 @@ sending a graphics file.
|
||||||
|
|
||||||
Encode the contents of the *input* file and write the resulting quoted-printable
|
Encode the contents of the *input* file and write the resulting quoted-printable
|
||||||
data to the *output* file. *input* and *output* must be
|
data to the *output* file. *input* and *output* must be
|
||||||
:term:`binary file objects <file object>`. *quotetabs*, a flag which controls
|
:term:`binary file objects <file object>`. *quotetabs*, a
|
||||||
whether to encode embedded spaces and tabs must be provideda and when true it
|
non-optional flag which controls whether to encode embedded spaces
|
||||||
encodes such embedded whitespace, and when false it leaves them unencoded.
|
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,
|
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 per :rfc:`1521`. *header* is a flag which controls if spaces are encoded
|
||||||
as underscores as per :rfc:`1522`.
|
as underscores as per :rfc:`1522`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue