From: R David Murray Date: Sat, 17 Mar 2012 02:10:00 +0000 (-0400) Subject: #11780: s/throw/raise/ X-Git-Tag: v3.3.0a2~132^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41914349adbee033ba48d6c52dc26a7d36cd78fa;p=thirdparty%2FPython%2Fcpython.git #11780: s/throw/raise/ --- diff --git a/Doc/library/email.encoders.rst b/Doc/library/email.encoders.rst index 3c32c3bb425d..81d30961db29 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: