]> granicus.if.org Git - python/commitdiff
Document 'istext' parameter
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 12 Aug 2005 14:02:32 +0000 (14:02 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 12 Aug 2005 14:02:32 +0000 (14:02 +0000)
Doc/lib/libbinascii.tex

index 9850418feff7fdba431887c7c85d029684e06a36..b244b105718f1bf0669b9dbb3f3f17f34659aa70 100644 (file)
@@ -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}