mirror of
https://github.com/python/cpython.git
synced 2025-07-30 22:54:16 +00:00
Document 'istext' parameter
This commit is contained in:
parent
c991db240c
commit
ba7d95e215
1 changed files with 5 additions and 2 deletions
|
@ -51,10 +51,13 @@ will be decoded as spaces.
|
|||
Convert binary data to a line(s) of \ASCII{} characters in
|
||||
quoted-printable encoding. The return value is the converted line(s).
|
||||
If the optional argument \var{quotetabs} is present and true, all tabs
|
||||
and spaces will be encoded. If the optional argument \var{header} is
|
||||
and spaces will be encoded.
|
||||
If the optional argument \var{istext} is present and true,
|
||||
newlines are not encoded but trailing whitespace will be encoded.
|
||||
If the optional argument \var{header} is
|
||||
present and true, spaces will be encoded as underscores per RFC1522.
|
||||
If the optional argument \var{header} is present and false, newline
|
||||
characters will be encoded as well, otherwise linefeed conversion might
|
||||
characters will be encoded as well; otherwise linefeed conversion might
|
||||
corrupt the binary data stream.
|
||||
\end{funcdesc}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue