diff options
author | Guido van Rossum <guido@python.org> | 2000-02-17 15:12:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-02-17 15:12:01 (GMT) |
commit | 1efac337556555399fbffffde4dc04709bc63aac (patch) | |
tree | aba5cd6ff288294a90da5ca01d47b5ee7b006681 /Lib | |
parent | 8006d316bcf10af9f3d22530ce88358370aec10b (diff) | |
download | cpython-1efac337556555399fbffffde4dc04709bc63aac.zip cpython-1efac337556555399fbffffde4dc04709bc63aac.tar.gz cpython-1efac337556555399fbffffde4dc04709bc63aac.tar.bz2 |
Added WindowsError, for Mark Hammond's extensions.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/exceptions.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/exceptions.py b/Lib/exceptions.py index 56eed92..b785a7c 100644 --- a/Lib/exceptions.py +++ b/Lib/exceptions.py @@ -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 |