From 768a3f0ab8c1abdf14372cbdf3c83cc93b28ac4e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 31 Dec 1991 13:13:47 +0000 Subject: Added SystemExit. --- Python/bltinmodule.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Python/bltinmodule.c') diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index dd07e28f42..bd153f2928 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -615,6 +615,7 @@ object *OverflowError; object *RuntimeError; object *SyntaxError; object *SystemError; +object *SystemExit; object *TypeError; object *ValueError; object *ZeroDivisionError; @@ -645,6 +646,7 @@ initerrors() RuntimeError = newstdexception("RuntimeError"); SyntaxError = newstdexception("SyntaxError"); SystemError = newstdexception("SystemError"); + SystemExit = newstdexception("SystemExit"); TypeError = newstdexception("TypeError"); ValueError = newstdexception("ValueError"); ZeroDivisionError = newstdexception("ZeroDivisionError"); -- cgit v1.2.1