Skip to content

Commit 1da648a

Browse files
bpo-38341: Add SMTPNotSupportedError in the exports of smtplib (GH-16525)
Add SMTPNotSupportedError in the exports of smtplib Co-Authored-By: Brandt Bucher <[email protected]> (cherry picked from commit 3faf826) Co-authored-by: nde <[email protected]>
1 parent 294c522 commit 1da648a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/smtplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
import sys
5555
from email.base64mime import body_encode as encode_base64
5656

57-
__all__ = ["SMTPException", "SMTPServerDisconnected", "SMTPResponseException",
57+
__all__ = ["SMTPException", "SMTPNotSupportedError", "SMTPServerDisconnected", "SMTPResponseException",
5858
"SMTPSenderRefused", "SMTPRecipientsRefused", "SMTPDataError",
5959
"SMTPConnectError", "SMTPHeloError", "SMTPAuthenticationError",
6060
"quoteaddr", "quotedata", "SMTP"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add :exc:`smtplib.SMTPNotSupportedError` to the :mod:`smtplib` exported names.

0 commit comments

Comments
 (0)