diff options
author | Guido van Rossum <guido@python.org> | 1999-04-08 20:27:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-04-08 20:27:54 (GMT) |
commit | 9a744a9dd771ee8997bdebaf47ff999b5adc9733 (patch) | |
tree | 5060172f273b17409371c9ad1441b2a8bbc315be /Lib/dos-8x3/exceptio.py | |
parent | 6d0de99d8da806798ce0b896159bd07fce71c0dc (diff) | |
download | cpython-9a744a9dd771ee8997bdebaf47ff999b5adc9733.zip cpython-9a744a9dd771ee8997bdebaf47ff999b5adc9733.tar.gz cpython-9a744a9dd771ee8997bdebaf47ff999b5adc9733.tar.bz2 |
The usual
Diffstat (limited to 'Lib/dos-8x3/exceptio.py')
-rw-r--r-- | Lib/dos-8x3/exceptio.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Lib/dos-8x3/exceptio.py b/Lib/dos-8x3/exceptio.py index 2963c04..e943f7b 100644 --- a/Lib/dos-8x3/exceptio.py +++ b/Lib/dos-8x3/exceptio.py @@ -11,10 +11,11 @@ Most existing code should continue to work with class based exceptions. Some tricky uses of IOError may break, but the most common uses should work. Here is a rundown of the class hierarchy. You can change this by editing this -file, but it isn't recommended. The class names described here are expected -to be found by the bltinmodule.c file. If you add classes here, you must -modify bltinmodule.c or the exceptions won't be available in the __builtin__ -module, nor will they be accessible from C. +file, but it isn't recommended because the old string based exceptions won't +be kept in sync. The class names described here are expected to be found by +the bltinmodule.c file. If you add classes here, you must modify +bltinmodule.c or the exceptions won't be available in the __builtin__ module, +nor will they be accessible from C. The classes with a `*' are new since Python 1.5. They are defined as tuples containing the derived exceptions when string-based exceptions are used. If @@ -23,9 +24,9 @@ Exception. Exception(*) | + +-- SystemExit +-- StandardError(*) | - +-- SystemExit +-- KeyboardInterrupt +-- ImportError +-- EnvironmentError(*) |