diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-01-04 01:48:42 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-01-04 01:48:42 (GMT) |
commit | 23ab199bfd6f5f7fb264d7f79dd177b3e6a59021 (patch) | |
tree | 99542ff39158b78179fd6c9d6794d2261a78d4c5 /Python | |
parent | 5ed85ec0c085285d073f166f007df6efb1bb802a (diff) | |
download | cpython-23ab199bfd6f5f7fb264d7f79dd177b3e6a59021.zip cpython-23ab199bfd6f5f7fb264d7f79dd177b3e6a59021.tar.gz cpython-23ab199bfd6f5f7fb264d7f79dd177b3e6a59021.tar.bz2 |
Add NotImplemented to the builtin module.
Diffstat (limited to 'Python')
-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 0df6cb4..a1ab8e2 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); |