diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 4c4b4aafe18..6337a4c8eeb 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -2464,6 +2464,9 @@ init_curses(void) PyDict_SetItemString(d, "__version__", v); Py_DECREF(v); + SetDictInt("ERR", ERR); + SetDictInt("OK", OK); + /* Here are some attributes you can add to chars to print */ SetDictInt("A_ATTRIBUTES", A_ATTRIBUTES);