summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2003-03-10 16:13:50 (GMT)
committerBarry Warsaw <barry@python.org>2003-03-10 16:13:50 (GMT)
commit20ebc37013af02f566d2e1096bd97c43e8ebb257 (patch)
tree4b44cbc80a510f14d46ab3ffd4ae3c48179329b8
parent21191d3e31377fff23ea2f71e166f84f3cae1ce8 (diff)
downloadcpython-20ebc37013af02f566d2e1096bd97c43e8ebb257.zip
cpython-20ebc37013af02f566d2e1096bd97c43e8ebb257.tar.gz
cpython-20ebc37013af02f566d2e1096bd97c43e8ebb257.tar.bz2
Describe what happens when decode=True and the payload has bogus
base64 data.
-rw-r--r--Doc/lib/emailmessage.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/lib/emailmessage.tex b/Doc/lib/emailmessage.tex
index 34c152d..61dc74b 100644
--- a/Doc/lib/emailmessage.tex
+++ b/Doc/lib/emailmessage.tex
@@ -87,9 +87,10 @@ When \code{True} and the message is not a multipart, the payload will be
decoded if this header's value is \samp{quoted-printable} or
\samp{base64}. If some other encoding is used, or
\mailheader{Content-Transfer-Encoding} header is
-missing, the payload is returned as-is (undecoded). If the message is
-a multipart and the \var{decode} flag is \code{True}, then \code{None} is
-returned. The default for \var{decode} is \code{False}.
+missing, or if the payload has bogus base64 data, the payload is
+returned as-is (undecoded). If the message is a multipart and the
+\var{decode} flag is \code{True}, then \code{None} is returned. The
+default for \var{decode} is \code{False}.
\end{methoddesc}
\begin{methoddesc}[Message]{set_payload}{payload\optional{, charset}}