From: Andrew M. Kuchling Date: Tue, 26 Dec 2000 15:57:01 +0000 (+0000) Subject: Add the curses constants ERR and OK to the module at TG's suggestion X-Git-Tag: v2.1a1~484 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=caefb37ee1790bdcfe735f782759563cd59e174a;p=python 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 4c4b4aafe1..6337a4c8ee 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);