diff options
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/smtplib.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst index 0aea80a..3c22f64 100644 --- a/Doc/library/smtplib.rst +++ b/Doc/library/smtplib.rst @@ -318,7 +318,12 @@ An :class:`SMTP` instance has the following methods: .. method:: SMTP.quit() - Terminate the SMTP session and close the connection. + Terminate the SMTP session and close the connection. Return the result of + the SMTP ``QUIT`` command. + + .. versionchanged:: 2.6 + Return a value. + Low-level methods corresponding to the standard SMTP/ESMTP commands ``HELP``, ``RSET``, ``NOOP``, ``MAIL``, ``RCPT``, and ``DATA`` are also supported. |