From 41914349adbee033ba48d6c52dc26a7d36cd78fa Mon Sep 17 00:00:00 2001 From: R David Murray Date: Fri, 16 Mar 2012 22:10:00 -0400 Subject: [PATCH] #11780: s/throw/raise/ --- Doc/library/email.encoders.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/email.encoders.rst b/Doc/library/email.encoders.rst index 3c32c3bb425..81d30961db2 100644 --- a/Doc/library/email.encoders.rst +++ b/Doc/library/email.encoders.rst @@ -19,7 +19,7 @@ payload, encode it, and reset the payload to this newly encoded value. They should also set the :mailheader:`Content-Transfer-Encoding` header as appropriate. Note that these functions are not meaningful for a multipart message. They -must be applied to individual subparts instead, and will throw a +must be applied to individual subparts instead, and will raise a :exc:`TypeError` if passed a message whose type is multipart. Here are the encoding functions provided: