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:
parent
193366e25c
commit
cb580d6fa8
|
@ -54,7 +54,7 @@ import datetime
|
||||||
import sys
|
import sys
|
||||||
from email.base64mime import body_encode as encode_base64
|
from email.base64mime import body_encode as encode_base64
|
||||||
|
|
||||||
__all__ = ["SMTPException", "SMTPServerDisconnected", "SMTPResponseException",
|
__all__ = ["SMTPException", "SMTPNotSupportedError", "SMTPServerDisconnected", "SMTPResponseException",
|
||||||
"SMTPSenderRefused", "SMTPRecipientsRefused", "SMTPDataError",
|
"SMTPSenderRefused", "SMTPRecipientsRefused", "SMTPDataError",
|
||||||
"SMTPConnectError", "SMTPHeloError", "SMTPAuthenticationError",
|
"SMTPConnectError", "SMTPHeloError", "SMTPAuthenticationError",
|
||||||
"quoteaddr", "quotedata", "SMTP"]
|
"quoteaddr", "quotedata", "SMTP"]
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Add :exc:`smtplib.SMTPNotSupportedError` to the :mod:`smtplib` exported names.
|
Loading…
Reference in New Issue