Skip to content
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
Make space for module state
  • Loading branch information
erlend-aasland committed Mar 29, 2023
commit ef328cf727740adc092118f5cda48c00d4888b38
13 changes: 4 additions & 9 deletions Modules/_tkinter.c
Original file line number Diff line number Diff line change
Expand Up @@ -3280,15 +3280,10 @@ DisableEventHook(void)


static struct PyModuleDef _tkintermodule = {
PyModuleDef_HEAD_INIT,
"_tkinter",
NULL,
-1,
moduleMethods,
NULL,
NULL,
NULL,
NULL
.m_base = PyModuleDef_HEAD_INIT,
.m_name = "_tkinter",
.m_size = sizeof(module_state),
.m_methods = moduleMethods,
};

PyMODINIT_FUNC
Expand Down