Kaydet (Commit) 23ab199b authored tarafından Neil Schemenauer's avatar Neil Schemenauer

Add NotImplemented to the builtin module.

üst 5ed85ec0
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment