Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 9567:b7158db347d9 legacy-trunk
Added new builtin standard exception: NotImplementedError (its C
counterpart is PyExc_NotImplementedError).
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Tue, 01 Dec 1998 18:52:06 +0000 |
| parents | a126107c433a |
| children | 5e9ef9d8575b |
line wrap: on
line diff
--- a/Python/bltinmodule.c Tue Dec 01 18:37:59 1998 +0000 +++ b/Python/bltinmodule.c Tue Dec 01 18:52:06 1998 +0000 @@ -1954,6 +1954,7 @@ 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 @@ {"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},
