bpo-38341: Add SMTPNotSupportedError in the exports of smtplib (#16525)
Add SMTPNotSupportedError in the exports of smtplib Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com>
This commit is contained in:
parent
c02b41b1fb
commit
3faf826e58
|
@ -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