diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-10-12 16:26:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-12 16:26:04 (GMT) |
commit | cb580d6fa8349acff723a7a044181d896d076871 (patch) | |
tree | 300c15c165f933f068e0794c1edb41f1b98b98ae | |
parent | 193366e25c4f84a58d2f6c6c577fd9f0143dc6e1 (diff) | |
download | cpython-cb580d6fa8349acff723a7a044181d896d076871.zip cpython-cb580d6fa8349acff723a7a044181d896d076871.tar.gz cpython-cb580d6fa8349acff723a7a044181d896d076871.tar.bz2 |
bpo-38341: Add SMTPNotSupportedError in the exports of smtplib (GH-16525)
Add SMTPNotSupportedError in the exports of smtplib
Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com>
(cherry picked from commit 3faf826e5879536d2272f1a51c58965a16827f81)
Co-authored-by: nde <denayer.norman@gmail.com>
-rwxr-xr-x | Lib/smtplib.py | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Lib/smtplib.py b/Lib/smtplib.py index 6091c7f..22d5097 100755 --- a/Lib/smtplib.py +++ b/Lib/smtplib.py @@ -54,7 +54,7 @@ import datetime import sys from email.base64mime import body_encode as encode_base64 -__all__ = ["SMTPException", "SMTPServerDisconnected", "SMTPResponseException", +__all__ = ["SMTPException", "SMTPNotSupportedError", "SMTPServerDisconnected", "SMTPResponseException", "SMTPSenderRefused", "SMTPRecipientsRefused", "SMTPDataError", "SMTPConnectError", "SMTPHeloError", "SMTPAuthenticationError", "quoteaddr", "quotedata", "SMTP"] diff --git a/Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst b/Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst new file mode 100644 index 0000000..dd1a6b0 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst @@ -0,0 +1 @@ +Add :exc:`smtplib.SMTPNotSupportedError` to the :mod:`smtplib` exported names. |