summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-04-14 10:46:35 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-04-14 10:46:35 (GMT)
commit8a34596bbecdd5ad3dfd15df6fd4efa658e82765 (patch)
tree4d76386a9ce7c6522f7039e217f26cfd6f934d2d /Doc/whatsnew
parent96d6a78ce03e3642e83fe80cad3ef549cf8717ed (diff)
downloadcpython-8a34596bbecdd5ad3dfd15df6fd4efa658e82765.zip
cpython-8a34596bbecdd5ad3dfd15df6fd4efa658e82765.tar.gz
cpython-8a34596bbecdd5ad3dfd15df6fd4efa658e82765.tar.bz2
#2118: IOError is deprecated, use OSError.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.4.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 2b6193a..ca515f6 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -162,7 +162,7 @@ detected. (Contributed by R. David Murray and Daniel Urban in :issue:`16522`.)
smtplib
-------
-:exc:`~smtplib.SMTPException` is now a subclass of :exc:`IOError`, which allows
+:exc:`~smtplib.SMTPException` is now a subclass of :exc:`OSError`, which allows
both socket level errors and SMTP protocol level errors to be caught in one
try/except statement by code that only cares whether or not an error occurred.
(:issue:`2118`).