summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2014-03-31 22:14:27 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2014-03-31 22:14:27 (GMT)
commitd6ee27895adbd7cf66f8dd1591ecced7cc8d70fc (patch)
tree517922418de871dc1088b9d6cffc62eadbf3ab80 /Doc/c-api
parenta7906dd2d9fa19b9722d81e8d53fcc855bc8f8c0 (diff)
parent08af00047bb9266bfb6e1cfc539affd130b47170 (diff)
downloadcpython-d6ee27895adbd7cf66f8dd1591ecced7cc8d70fc.zip
cpython-d6ee27895adbd7cf66f8dd1591ecced7cc8d70fc.tar.gz
cpython-d6ee27895adbd7cf66f8dd1591ecced7cc8d70fc.tar.bz2
Merge 3.4: Get rid of deprecated IOError in the doc
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/exceptions.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index 6fda191..33b4439 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -236,8 +236,8 @@ in various ways. There is a separate error indicator for each thread.
Similar to :c:func:`PyErr_SetFromErrno`, with the additional behavior that if
*filenameObject* is not *NULL*, it is passed to the constructor of *type* as
- a third parameter. In the case of exceptions such as :exc:`IOError` and
- :exc:`OSError`, this is used to define the :attr:`filename` attribute of the
+ a third parameter. In the case of :exc:`OSError` exception,
+ this is used to define the :attr:`filename` attribute of the
exception instance.