mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
#2118: IOError is deprecated, use OSError.
This commit is contained in:
parent
96d6a78ce0
commit
8a34596bbe
3 changed files with 3 additions and 3 deletions
|
@ -66,7 +66,7 @@ bCRLF = b"\r\n"
|
|||
OLDSTYLE_AUTH = re.compile(r"auth=(.*)", re.I)
|
||||
|
||||
# Exception classes used by this module.
|
||||
class SMTPException(IOError):
|
||||
class SMTPException(OSError):
|
||||
"""Base class for all exceptions raised by this module."""
|
||||
|
||||
class SMTPServerDisconnected(SMTPException):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue