10000 gh-103092: Prep curses module for multi-phase init by koubaa · Pull Request #23091 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-103092: Prep curses module for multi-phase init #23091

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix issues with CI
  • Loading branch information
koubaa committed Feb 28, 2021
commit ddfb744f0ad5125ba8a7a543077f0ac674241d8d
4 changes: 2 additions & 2 deletions Modules/_cursesmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -3972,7 +3972,7 @@ update_lines_cols(PyObject *module)

PyObject *d = PyModule_GetDict(module);
if (d == NULL) {
return NULL;
return 0;
}

if (!m)
Expand Down Expand Up @@ -4738,7 +4738,7 @@ static struct PyModuleDef _cursesmodule = {
.m_name = "_curses",
.m_doc = NULL,
.m_size = -1,
.m_nethods = PyCurses_methods,
.m_methods = PyCurses_methods,
.m_slots = NULL,
.m_traverse = NULL,
.m_clear = NULL,
Expand Down
0