commit | caefb37ee1790bdcfe735f782759563cd59e174a | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Tue Dec 26 15:57:01 2000 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Tue Dec 26 15:57:01 2000 +0000 |
tree | 1ad655fd2608315eb5db32e432f73f0f4ff89807 | |
parent | 1dea760ca1f08b4290b06155e3ded977a2c0ad0f [diff] |
Add the curses constants ERR and OK to the module at TG's suggestion
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 4c4b4aa..6337a4c 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c
@@ -2464,6 +2464,9 @@ 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);