Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba7d95e

Browse files
committed
Document 'istext' parameter
1 parent c991db2 commit ba7d95e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Doc/lib/libbinascii.tex

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,13 @@ \section{\module{binascii} ---
5151
Convert binary data to a line(s) of \ASCII{} characters in
5252
quoted-printable encoding. The return value is the converted line(s).
5353
If the optional argument \var{quotetabs} is present and true, all tabs
54-
and spaces will be encoded. If the optional argument \var{header} is
54+
and spaces will be encoded.
55+
If the optional argument \var{istext} is present and true,
56+
newlines are not encoded but trailing whitespace will be encoded.
57+
If the optional argument \var{header} is
5558
present and true, spaces will be encoded as underscores per RFC1522.
5659
If the optional argument \var{header} is present and false, newline
57-
characters will be encoded as well, otherwise linefeed conversion might
60+
characters will be encoded as well; otherwise linefeed conversion might
5861
corrupt the binary data stream.
5962
\end{funcdesc}
6063

0 commit comments

Comments
 (0)