summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2005-08-12 14:02:32 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2005-08-12 14:02:32 (GMT)
commitba7d95e21588c649a262e30103a33a237cc142a0 (patch)
treebdb53b947f5d1631519a14454df52398ea731f43
parentc991db240ca8ea838c6acb0c8dc5300dca23c39e (diff)
downloadcpython-ba7d95e21588c649a262e30103a33a237cc142a0.zip
cpython-ba7d95e21588c649a262e30103a33a237cc142a0.tar.gz
cpython-ba7d95e21588c649a262e30103a33a237cc142a0.tar.bz2
Document 'istext' parameter
-rw-r--r--Doc/lib/libbinascii.tex7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/lib/libbinascii.tex b/Doc/lib/libbinascii.tex
index 9850418..b244b10 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}