Skip to content

Commit

Permalink
Added new builtin standard exception: NotImplementedError (its C
Browse files Browse the repository at this point in the history
counterpart is PyExc_NotImplementedError).
  • Loading branch information
warsaw committed Dec 1, 1998
1 parent eabfab1 commit 344864f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Python/bltinmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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},
Expand Down

0 comments on commit 344864f

Please sign in to comment.