Merge #11780: s/throw/raise/

This commit is contained in:
R David Murray 2012-03-16 22:10:44 -04:00
commit 9b3d4847e5
1 changed files with 1 additions and 1 deletions

View File

@ -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. should also set the :mailheader:`Content-Transfer-Encoding` header as appropriate.
Note that these functions are not meaningful for a multipart message. They 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. :exc:`TypeError` if passed a message whose type is multipart.
Here are the encoding functions provided: Here are the encoding functions provided: