diff Python/bltinmodule.c @ 545:9f06c6689f0d legacy-trunk

Added SystemExit.
author Guido van Rossum <guido@python.org>
date Tue, 31 Dec 1991 13:13:47 +0000
parents 095d9cf4e3e6
children c763fc64fcab
line wrap: on
line diff
--- a/Python/bltinmodule.c	Tue Dec 31 13:13:35 1991 +0000
+++ b/Python/bltinmodule.c	Tue Dec 31 13:13:47 1991 +0000
@@ -615,6 +615,7 @@
 object *RuntimeError;
 object *SyntaxError;
 object *SystemError;
+object *SystemExit;
 object *TypeError;
 object *ValueError;
 object *ZeroDivisionError;
@@ -645,6 +646,7 @@
 	RuntimeError = newstdexception("RuntimeError");
 	SyntaxError = newstdexception("SyntaxError");
 	SystemError = newstdexception("SystemError");
+	SystemExit = newstdexception("SystemExit");
 	TypeError = newstdexception("TypeError");
 	ValueError = newstdexception("ValueError");
 	ZeroDivisionError = newstdexception("ZeroDivisionError");