summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-08-30 20:25:06 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-08-30 20:25:06 (GMT)
commit624e2226046e20251fc27f91061ef5176b800c33 (patch)
tree555bd8d7d92ba972b6d05d90f4b3a94e7815cf0b
parent5cf1c6cb62c39403dbc051d20a272dca0a14ccfb (diff)
downloadcpython-624e2226046e20251fc27f91061ef5176b800c33.zip
cpython-624e2226046e20251fc27f91061ef5176b800c33.tar.gz
cpython-624e2226046e20251fc27f91061ef5176b800c33.tar.bz2
Fix typos
-rw-r--r--Doc/library/smtplib.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst
index bdf3805..83d5c2d 100644
--- a/Doc/library/smtplib.rst
+++ b/Doc/library/smtplib.rst
@@ -439,7 +439,7 @@ An :class:`SMTP` instance has the following methods:
and the accompanying error message sent by the server.
If ``SMTPUTF8`` is included in *mail_options*, and the server supports it,
- *from_addr* and *to_addr* may contain non-ASCII characters.
+ *from_addr* and *to_addrs* may contain non-ASCII characters.
This method may raise the following exceptions:
@@ -486,7 +486,7 @@ An :class:`SMTP` instance has the following methods:
those arguments with addresses extracted from the headers of *msg* as
specified in :rfc:`5322`\: *from_addr* is set to the :mailheader:`Sender`
field if it is present, and otherwise to the :mailheader:`From` field.
- *to_adresses* combines the values (if any) of the :mailheader:`To`,
+ *to_addrs* combines the values (if any) of the :mailheader:`To`,
:mailheader:`Cc`, and :mailheader:`Bcc` fields from *msg*. If exactly one
set of :mailheader:`Resent-*` headers appear in the message, the regular
headers are ignored and the :mailheader:`Resent-*` headers are used instead.