Skip to content

Commit ddfb744

Browse files
committed
fix issues with CI
1 parent ab3c3f3 commit ddfb744

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_cursesmodule.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3972,7 +3972,7 @@ update_lines_cols(PyObject *module)
39723972

39733973
PyObject *d = PyModule_GetDict(module);
39743974
if (d == NULL) {
3975-
return NULL;
3975+
return 0;
39763976
}
39773977

39783978
if (!m)
@@ -4738,7 +4738,7 @@ static struct PyModuleDef _cursesmodule = {
47384738
.m_name = "_curses",
47394739
.m_doc = NULL,
47404740
.m_size = -1,
4741-
.m_nethods = PyCurses_methods,
4741+
.m_methods = PyCurses_methods,
47424742
.m_slots = NULL,
47434743
.m_traverse = NULL,
47444744
.m_clear = NULL,

0 commit comments

Comments
 (0)