We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab3c3f3 commit ddfb744Copy full SHA for ddfb744
Modules/_cursesmodule.c
@@ -3972,7 +3972,7 @@ update_lines_cols(PyObject *module)
3972
3973
PyObject *d = PyModule_GetDict(module);
3974
if (d == NULL) {
3975
- return NULL;
+ return 0;
3976
}
3977
3978
if (!m)
@@ -4738,7 +4738,7 @@ static struct PyModuleDef _cursesmodule = {
4738
.m_name = "_curses",
4739
.m_doc = NULL,
4740
.m_size = -1,
4741
- .m_nethods = PyCurses_methods,
+ .m_methods = PyCurses_methods,
4742
.m_slots = NULL,
4743
.m_traverse = NULL,
4744
.m_clear = NULL,
0 commit comments