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 3faf826e58)

Co-authored-by: nde <denayer.norman@gmail.com>
This commit is contained in:
Miss Islington (bot) 2019-10-12 09:26:04 -07:00 committed by GitHub
parent 193366e25c
commit cb580d6fa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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"]

View File

@ -0,0 +1 @@
Add :exc:`smtplib.SMTPNotSupportedError` to the :mod:`smtplib` exported names.