Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 15727:641ad6c833be legacy-trunk
Add NotImplemented to the builtin module.
| author | Neil Schemenauer <nascheme@enme.ucalgary.ca> |
|---|---|
| date | Thu, 04 Jan 2001 01:48:42 +0000 |
| parents | 6405f30aa08c |
| children | 9308dc8c85e0 |
line wrap: on
line diff
--- a/Python/bltinmodule.c Thu Jan 04 01:48:10 2001 +0000 +++ b/Python/bltinmodule.c Thu Jan 04 01:48:42 2001 +0000 @@ -2261,6 +2261,9 @@ 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);
