From caefb37ee1790bdcfe735f782759563cd59e174a Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Tue, 26 Dec 2000 15:57:01 +0000 Subject: [PATCH] Add the curses constants ERR and OK to the module at TG's suggestion --- Modules/_cursesmodule.c | 3 +++ 1 file changed, 3 insertions(+) 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);