Get rid of deprecated IOError in the doc

This commit is contained in:
Andrew Svetlov 2014-04-01 01:13:30 +03:00
parent 5898d4f4d9
commit 08af00047b
5 changed files with 12 additions and 12 deletions

View file

@ -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.