summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-03-17 02:11:22 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-03-17 02:11:22 (GMT)
commitbee24df3a77a4d54817e410018556a2671d59996 (patch)
tree32a18ac274b8aebbecf2cfa7c76b41e40fc6a0fe
parent0cc4e53d1d0af3e6b96b35858ffa4c11cd51e6ce (diff)
downloadcpython-bee24df3a77a4d54817e410018556a2671d59996.zip
cpython-bee24df3a77a4d54817e410018556a2671d59996.tar.gz
cpython-bee24df3a77a4d54817e410018556a2671d59996.tar.bz2
#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: