]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typos
authorRaymond Hettinger <python@rcn.com>
Tue, 30 Aug 2016 20:25:06 +0000 (13:25 -0700)
committerRaymond Hettinger <python@rcn.com>
Tue, 30 Aug 2016 20:25:06 +0000 (13:25 -0700)
Doc/library/smtplib.rst

index bdf3805106df3be150de90fa657d6e6e7ea7379b..83d5c2ddf4173db358cfa14049cc18ef054c5ae8 100644 (file)
@@ -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.