Skip to content

Commit e4240e3

Browse files
rockwellnbrandtbucher
authored and
Jake Taylor
committed
bpo-38341: Add SMTPNotSupportedError in the exports of smtplib (python#16525)
Add SMTPNotSupportedError in the exports of smtplib Co-Authored-By: Brandt Bucher <[email protected]>
1 parent f381374 commit e4240e3

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)