diff options
| author | Guido van Rossum <guido@python.org> | 1991-12-31 13:13:47 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1991-12-31 13:13:47 +0000 |
| commit | 768a3f0ab8c1abdf14372cbdf3c83cc93b28ac4e (patch) | |
| tree | 28fee2f993254aa1fb288591e2e70daad3db54f0 /Python/bltinmodule.c | |
| parent | a9df32ab2aaafe4eb7181916737caf5cb35eed8e (diff) | |
| download | cpython-git-768a3f0ab8c1abdf14372cbdf3c83cc93b28ac4e.tar.gz | |
Added SystemExit.
Diffstat (limited to 'Python/bltinmodule.c')
| -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 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"); |
