Commit caefb37e authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Add the curses constants ERR and OK to the module at TG's suggestion

parent 1dea760c
...@@ -2464,6 +2464,9 @@ init_curses(void) ...@@ -2464,6 +2464,9 @@ init_curses(void)
PyDict_SetItemString(d, "__version__", v); PyDict_SetItemString(d, "__version__", v);
Py_DECREF(v); Py_DECREF(v);
SetDictInt("ERR", ERR);
SetDictInt("OK", OK);
/* Here are some attributes you can add to chars to print */ /* Here are some attributes you can add to chars to print */
SetDictInt("A_ATTRIBUTES", A_ATTRIBUTES); SetDictInt("A_ATTRIBUTES", A_ATTRIBUTES);
......
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