diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-12-26 15:57:01 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-12-26 15:57:01 (GMT) |
commit | caefb37ee1790bdcfe735f782759563cd59e174a (patch) | |
tree | 1ad655fd2608315eb5db32e432f73f0f4ff89807 /Modules/_cursesmodule.c | |
parent | 1dea760ca1f08b4290b06155e3ded977a2c0ad0f (diff) | |
download | cpython-caefb37ee1790bdcfe735f782759563cd59e174a.zip cpython-caefb37ee1790bdcfe735f782759563cd59e174a.tar.gz cpython-caefb37ee1790bdcfe735f782759563cd59e174a.tar.bz2 |
Add the curses constants ERR and OK to the module at TG's suggestion
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r-- | Modules/_cursesmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ 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); |