Added WindowsError, for Mark Hammond's extensions.

This commit is contained in:
Guido van Rossum 2000-02-17 15:12:01 +00:00
parent 8006d316bc
commit 1efac33755
1 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,8 @@ Exception(*)
| |
| +-- IOError
| +-- OSError(*)
| |
| +-- WindowsError(*)
|
+-- EOFError
+-- RuntimeError
@ -139,6 +141,10 @@ class OSError(EnvironmentError):
"""OS system call failed."""
pass
class WindowsError(OSError):
"""MS-Windows OS system call failed."""
pass
class RuntimeError(StandardError):
"""Unspecified run-time error."""
pass