summaryrefslogtreecommitdiffstats
path: root/Include/errors.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-12-16 15:42:38 (GMT)
committerGuido van Rossum <guido@python.org>1991-12-16 15:42:38 (GMT)
commitfb905c3ebfe71c619cf4a4cb8bf162beb3526db2 (patch)
treeb349ec47876b3effc29425db86b18be856eee569 /Include/errors.h
parent0f1b8063b5c4afeb3cf5825c9360aa8de6f0d0ad (diff)
downloadcpython-fb905c3ebfe71c619cf4a4cb8bf162beb3526db2.zip
cpython-fb905c3ebfe71c619cf4a4cb8bf162beb3526db2.tar.gz
cpython-fb905c3ebfe71c619cf4a4cb8bf162beb3526db2.tar.bz2
Regularize exceptions.
Diffstat (limited to 'Include/errors.h')
-rwxr-xr-xInclude/errors.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/Include/errors.h b/Include/errors.h
index 4972f18..b6735a7 100755
--- a/Include/errors.h
+++ b/Include/errors.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 */