Mercurial > cpython-lru_cache-weakref
diff Modules/_cursesmodule.c @ 15661:afad65975a82 legacy-trunk
Add the curses constants ERR and OK to the module at TG's suggestion
| author | Andrew M. Kuchling <amk@amk.ca> |
|---|---|
| date | Tue, 26 Dec 2000 15:57:01 +0000 |
| parents | 5b158fc0ed55 |
| children | 32352e120c37 |
line wrap: on
line diff
--- a/Modules/_cursesmodule.c Mon Dec 25 06:19:08 2000 +0000 +++ b/Modules/_cursesmodule.c Tue Dec 26 15:57:01 2000 +0000 @@ -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);
