Skip to content

Commit caefb37

Browse files
committed
Add the curses constants ERR and OK to the module at TG's suggestion
1 parent 1dea760 commit caefb37

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Modules/_cursesmodule.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2464,6 +2464,9 @@ init_curses(void)
24642464
PyDict_SetItemString(d, "__version__", v);
24652465
Py_DECREF(v);
24662466

2467+
SetDictInt("ERR", ERR);
2468+
SetDictInt("OK", OK);
2469+
24672470
/* Here are some attributes you can add to chars to print */
24682471

24692472
SetDictInt("A_ATTRIBUTES", A_ATTRIBUTES);

0 commit comments

Comments
 (0)