From: R David Murray Date: Sat, 17 Mar 2012 02:11:22 +0000 (-0400) Subject: #11780: s/throw/raise/ X-Git-Tag: v2.7.4rc1~958^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bee24df3a77a4d54817e410018556a2671d59996;p=python #11780: s/throw/raise/ --- diff --git a/Doc/library/email.encoders.rst b/Doc/library/email.encoders.rst index 3c32c3bb42..81d30961db 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: