]> granicus.if.org Git - python/commitdiff
Issue #28894: Fix to_addrs refs in smtplib docs
authorRaymond Hettinger <python@rcn.com>
Tue, 30 Aug 2016 20:43:53 +0000 (13:43 -0700)
committerRaymond Hettinger <python@rcn.com>
Tue, 30 Aug 2016 20:43:53 +0000 (13:43 -0700)
Doc/library/smtplib.rst

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