Skip to content
Prev Previous commit
Next Next commit
fix compile error
  • Loading branch information
koubaa committed Sep 7, 2020
commit ea0136d06a4df7bf8f11379c313b63a991ff31a5
2 changes: 1 addition & 1 deletion Modules/_curses_panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ _curses_exec(PyObject *mod)
state->PyCursesError = PyErr_NewException(
"_curses_panel.error", NULL, NULL);

Py_INCREF(state->PyCursesError)
Py_INCREF(state->PyCursesError);
if (PyModule_AddObject(mod, "error", state->PyCursesError) < 0) {
Py_DECREF(state->PyCursesError);
return -1;
Expand Down