.. exception:: OSError
- and is used primarily as
- the :mod:`os` module's :exc:`os.error` exception. See :exc:`EnvironmentError`
- above for a description of the possible associated values.
-
- .. versionadded:: 1.5.2
.. index:: module: errno
This exception is derived from :exc:`EnvironmentError`. It is raised when a
:func:`unlink`), the exception instance will contain a third attribute,
:attr:`filename`, which is the file name passed to the function.
+ .. versionadded:: 1.5.2
+
.. exception:: OverflowError