diff options
| author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2014-04-01 01:13:30 +0300 |
|---|---|---|
| committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2014-04-01 01:13:30 +0300 |
| commit | 08af00047bb9266bfb6e1cfc539affd130b47170 (patch) | |
| tree | df8377d6570466219cf5d45bcee7eab05cf97cb0 /Doc/c-api | |
| parent | 5898d4f4d917c0f3e63f0a10d01ad445afa10b74 (diff) | |
| download | cpython-git-08af00047bb9266bfb6e1cfc539affd130b47170.tar.gz | |
Get rid of deprecated IOError in the doc
Diffstat (limited to 'Doc/c-api')
| -rw-r--r-- | Doc/c-api/exceptions.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst index 6fda191d2f..33b44390d2 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. |
