Mention the merging of other exceptions into OSError.

This commit is contained in:
Antoine Pitrou 2011-10-12 16:46:46 +02:00
parent 9b7fcf8c2e
commit 195e702831
1 changed files with 5 additions and 0 deletions

View File

@ -216,6 +216,11 @@ The following exceptions are the exceptions that are usually raised.
:func:`os.unlink`), the exception instance will contain an additional
attribute, :attr:`filename`, which is the file name passed to the function.
.. versionchanged:: 3.3
:exc:`EnvironmentError`, :exc:`IOError`, :exc:`WindowsError`,
:exc:`VMSError`, :exc:`socket.error`, :exc:`select.error` and
:exc:`mmap.error` have been merged into :exc:`OSError`.
.. exception:: OverflowError