Kaydet (Commit) 1efac337 authored tarafından Guido van Rossum's avatar Guido van Rossum

Added WindowsError, for Mark Hammond's extensions.

üst 8006d316
...@@ -33,6 +33,8 @@ Exception(*) ...@@ -33,6 +33,8 @@ Exception(*)
| | | |
| +-- IOError | +-- IOError
| +-- OSError(*) | +-- OSError(*)
| |
| +-- WindowsError(*)
| |
+-- EOFError +-- EOFError
+-- RuntimeError +-- RuntimeError
...@@ -139,6 +141,10 @@ class OSError(EnvironmentError): ...@@ -139,6 +141,10 @@ class OSError(EnvironmentError):
"""OS system call failed.""" """OS system call failed."""
pass pass
class WindowsError(OSError):
"""MS-Windows OS system call failed."""
pass
class RuntimeError(StandardError): class RuntimeError(StandardError):
"""Unspecified run-time error.""" """Unspecified run-time error."""
pass pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment