diff options
author | Guido van Rossum <guido@python.org> | 1991-12-16 15:42:38 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-12-16 15:42:38 (GMT) |
commit | fb905c3ebfe71c619cf4a4cb8bf162beb3526db2 (patch) | |
tree | b349ec47876b3effc29425db86b18be856eee569 /Include/pyerrors.h | |
parent | 0f1b8063b5c4afeb3cf5825c9360aa8de6f0d0ad (diff) | |
download | cpython-fb905c3ebfe71c619cf4a4cb8bf162beb3526db2.zip cpython-fb905c3ebfe71c619cf4a4cb8bf162beb3526db2.tar.gz cpython-fb905c3ebfe71c619cf4a4cb8bf162beb3526db2.tar.bz2 |
Regularize exceptions.
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r-- | Include/pyerrors.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h index 4972f18..b6735a7 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -33,23 +33,21 @@ void err_clear PROTO((void)); /* Predefined exceptions */ -extern object *RuntimeError; -extern object *EOFError; -extern object *TypeError; -extern object *MemoryError; -extern object *NameError; -extern object *SystemError; -extern object *KeyboardInterrupt; - -/* New exceptions */ extern object *AttributeError; +extern object *EOFError; extern object *IOError; -extern object *ZeroDivisionError; extern object *IndexError; -extern object *ValueError; extern object *KeyError; +extern object *KeyboardInterrupt; +extern object *MemoryError; +extern object *NameError; extern object *OverflowError; +extern object *RuntimeError; extern object *SyntaxError; +extern object *SystemError; +extern object *TypeError; +extern object *ValueError; +extern object *ZeroDivisionError; /* Convenience functions */ |