summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-03-17 02:10:44 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-03-17 02:10:44 (GMT)
commit9b3d4847e5e555ef4bab130969639d54ec78cf0e (patch)
treee6212c5e0771f0b7b9b8384cfeb4e2d8b1268f3e
parent1ad2eeaa9946340b1a1191385190a3253eb2cff5 (diff)
parent41914349adbee033ba48d6c52dc26a7d36cd78fa (diff)
downloadcpython-9b3d4847e5e555ef4bab130969639d54ec78cf0e.zip
cpython-9b3d4847e5e555ef4bab130969639d54ec78cf0e.tar.gz
cpython-9b3d4847e5e555ef4bab130969639d54ec78cf0e.tar.bz2
Merge #11780: s/throw/raise/
-rw-r--r--Doc/library/email.encoders.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/email.encoders.rst b/Doc/library/email.encoders.rst
index 3c32c3b..81d3096 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: