Add NotImplemented to the builtin module.

This commit is contained in:
Neil Schemenauer 2001-01-04 01:48:42 +00:00
parent 5ed85ec0c0
commit 23ab199bfd
1 changed files with 3 additions and 0 deletions

View File

@ -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);