From: Andrew M. Kuchling Date: Fri, 12 Aug 2005 14:08:10 +0000 (+0000) Subject: Document 'istext' parameter X-Git-Tag: v2.4.2c1~108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7297ba01b17caea4ed28d4e92e3642053730e4f3;p=thirdparty%2FPython%2Fcpython.git Document 'istext' parameter --- diff --git a/Doc/lib/libbinascii.tex b/Doc/lib/libbinascii.tex index 9850418feff7..b244b105718f 100644 --- a/Doc/lib/libbinascii.tex +++ b/Doc/lib/libbinascii.tex @@ -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}