diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-01-04 01:48:42 +0000 |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-01-04 01:48:42 +0000 |
commit | 23ab199bfd6f5f7fb264d7f79dd177b3e6a59021 (patch) | |
tree | 99542ff39158b78179fd6c9d6794d2261a78d4c5 | |
parent | 5ed85ec0c085285d073f166f007df6efb1bb802a (diff) | |
download | cpython-git-23ab199bfd6f5f7fb264d7f79dd177b3e6a59021.tar.gz |
Add NotImplemented to the builtin module.
-rw-r--r-- | Python/bltinmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 0df6cb4b14..a1ab8e256d 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -2261,6 +2261,9 @@ _PyBuiltin_Init(void) return NULL; if (PyDict_SetItemString(dict, "Ellipsis", Py_Ellipsis) < 0) return NULL; + if (PyDict_SetItemString(dict, "NotImplemented", + Py_NotImplemented) < 0) + return NULL; debug = PyInt_FromLong(Py_OptimizeFlag == 0); if (PyDict_SetItemString(dict, "__debug__", debug) < 0) { Py_XDECREF(debug); |