diff options
author | Guido van Rossum <guido@python.org> | 1991-12-31 13:13:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-12-31 13:13:47 (GMT) |
commit | 768a3f0ab8c1abdf14372cbdf3c83cc93b28ac4e (patch) | |
tree | 28fee2f993254aa1fb288591e2e70daad3db54f0 /Python | |
parent | a9df32ab2aaafe4eb7181916737caf5cb35eed8e (diff) | |
download | cpython-768a3f0ab8c1abdf14372cbdf3c83cc93b28ac4e.zip cpython-768a3f0ab8c1abdf14372cbdf3c83cc93b28ac4e.tar.gz cpython-768a3f0ab8c1abdf14372cbdf3c83cc93b28ac4e.tar.bz2 |
Added SystemExit.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index dd07e28..bd153f2 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"); |