Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4191434

Browse files
committed
#11780: s/throw/raise/
1 parent 69ebfe4 commit 4191434

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/email.encoders.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ payload, encode it, and reset the payload to this newly encoded value. They
1919
should also set the :mailheader:`Content-Transfer-Encoding` header as appropriate.
2020

2121
Note that these functions are not meaningful for a multipart message. They
22-
must be applied to individual subparts instead, and will throw a
22+
must be applied to individual subparts instead, and will raise a
2323
:exc:`TypeError` if passed a message whose type is multipart.
2424

2525
Here are the encoding functions provided:

0 commit comments

Comments
 (0)