summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-12-31 13:13:47 (GMT)
committerGuido van Rossum <guido@python.org>1991-12-31 13:13:47 (GMT)
commit768a3f0ab8c1abdf14372cbdf3c83cc93b28ac4e (patch)
tree28fee2f993254aa1fb288591e2e70daad3db54f0 /Python/bltinmodule.c
parenta9df32ab2aaafe4eb7181916737caf5cb35eed8e (diff)
downloadcpython-768a3f0ab8c1abdf14372cbdf3c83cc93b28ac4e.zip
cpython-768a3f0ab8c1abdf14372cbdf3c83cc93b28ac4e.tar.gz
cpython-768a3f0ab8c1abdf14372cbdf3c83cc93b28ac4e.tar.bz2
Added SystemExit.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
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");