diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2020-05-23 00:50:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-23 00:50:58 (GMT) |
commit | da51ba442c7bf717872633676207c1ae10e99c99 (patch) | |
tree | 5ef52f91f48dddfcc9fff62475824549661da90c /Doc | |
parent | 6fad3e6b49f6a9f8b8a6635c41371e4451479f86 (diff) | |
download | cpython-da51ba442c7bf717872633676207c1ae10e99c99.zip cpython-da51ba442c7bf717872633676207c1ae10e99c99.tar.gz cpython-da51ba442c7bf717872633676207c1ae10e99c99.tar.bz2 |
Cosmetic smtplib changes (GH-8718)
Some cosmetic smtplib changes here. Let me know if you'd like a bpo/news entry or splitting this PR into two.
Automerge-Triggered-By: @maxking
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/smtplib.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst index a88e358..b3cc603 100644 --- a/Doc/library/smtplib.rst +++ b/Doc/library/smtplib.rst @@ -279,9 +279,10 @@ An :class:`SMTP` instance has the following methods: response for ESMTP option and store them for use by :meth:`has_extn`. Also sets several informational attributes: the message returned by the server is stored as the :attr:`ehlo_resp` attribute, :attr:`does_esmtp` - is set to true or false depending on whether the server supports ESMTP, and - :attr:`esmtp_features` will be a dictionary containing the names of the - SMTP service extensions this server supports, and their parameters (if any). + is set to ``True`` or ``False`` depending on whether the server supports + ESMTP, and :attr:`esmtp_features` will be a dictionary containing the names + of the SMTP service extensions this server supports, and their parameters + (if any). Unless you wish to use :meth:`has_extn` before sending mail, it should not be necessary to call this method explicitly. It will be implicitly called by |