summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-12-01 18:52:06 (GMT)
committerBarry Warsaw <barry@python.org>1998-12-01 18:52:06 (GMT)
commit344864fcfb9bf50100f1b8df7c83449e72007a84 (patch)
treeb07ce79b7e1d8c66eaca3df18ddc6af5f5f1ab6e /Python/bltinmodule.c
parenteabfab104889f5fdd96a279c070bbf5c570b7a21 (diff)
downloadcpython-344864fcfb9bf50100f1b8df7c83449e72007a84.zip
cpython-344864fcfb9bf50100f1b8df7c83449e72007a84.tar.gz
cpython-344864fcfb9bf50100f1b8df7c83449e72007a84.tar.bz2
Added new builtin standard exception: NotImplementedError (its C
counterpart is PyExc_NotImplementedError).
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 31c051f..a4c14ba 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -1954,6 +1954,7 @@ PyObject *PyExc_MemoryError;
PyObject *PyExc_NameError;
PyObject *PyExc_OverflowError;
PyObject *PyExc_RuntimeError;
+PyObject *PyExc_NotImplementedError;
PyObject *PyExc_SyntaxError;
PyObject *PyExc_SystemError;
PyObject *PyExc_SystemExit;
@@ -1989,6 +1990,7 @@ bltin_exc[] = {
{"NameError", &PyExc_NameError, 1},
{"OverflowError", &PyExc_OverflowError, 1},
{"RuntimeError", &PyExc_RuntimeError, 1},
+ {"NotImplementedError",&PyExc_NotImplementedError,1},
{"SyntaxError", &PyExc_SyntaxError, 1},
{"SystemError", &PyExc_SystemError, 1},
{"SystemExit", &PyExc_SystemExit, 1},