mirror of
https://github.com/python/cpython.git
synced 2025-07-26 12:44:33 +00:00
Added WindowsError, for Mark Hammond's extensions.
This commit is contained in:
parent
8006d316bc
commit
1efac33755
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue