Skip to content
Prev Previous commit
Next Next commit
fix
  • Loading branch information
koubaa committed Sep 7, 2020
commit 141c299322f505042d9e9b4b137356fe5988cb47
2 changes: 1 addition & 1 deletion Modules/_curses_panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ _curses_exec(PyObject *mod)

/* Make the version available */
PyObject *v = PyUnicode_FromString(PyCursesVersion);
Comment thread
koubaa marked this conversation as resolved.
if (v == null) {
if (v == NULL) {
return -1;
}

Expand Down