[Python-checkins] cpython (2.7): #11780: s/throw/raise/

r.david.murray python-checkins at python.org
Sat Mar 17 03:11:44 CET 2012


http://hg.python.org/cpython/rev/55993cd25564
changeset:   75768:55993cd25564
branch:      2.7
parent:      75765:c894e2ea9ff7
user:        R David Murray <rdmurray at bitdance.com>
date:        Fri Mar 16 22:11:22 2012 -0400
summary:
  #11780: s/throw/raise/

files:
  Doc/library/email.encoders.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/email.encoders.rst b/Doc/library/email.encoders.rst
--- a/Doc/library/email.encoders.rst
+++ b/Doc/library/email.encoders.rst
@@ -19,7 +19,7 @@
 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:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list