]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Mention the merging of other exceptions into OSError.
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 12 Oct 2011 14:46:46 +0000 (16:46 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 12 Oct 2011 14:46:46 +0000 (16:46 +0200)
Doc/library/exceptions.rst

index 68c9eb1a2a4b6bc060056a3dece100a43245e367..67f2c63bdcd11438c88ec77ef0970e6e48907033 100644 (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