From: Neil Schemenauer Date: Thu, 4 Jan 2001 01:48:42 +0000 (+0000) Subject: Add NotImplemented to the builtin module. X-Git-Tag: v2.1a1~421 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23ab199bfd6f5f7fb264d7f79dd177b3e6a59021;p=python Add NotImplemented to the builtin module. --- 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);