Skip to content
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions Modules/_testmultiphase.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ static int execfunc(PyObject *m)

#define TEST_MODULE_DEF(name, slots, methods) TEST_MODULE_DEF_EX(name, slots, methods, 0, NULL)

PyModuleDef_Slot main_slots[] = {
static PyModuleDef_Slot main_slots[] = {
{Py_mod_exec, execfunc},
{0, NULL},
};
Expand Down Expand Up @@ -486,7 +486,7 @@ createfunc_null(PyObject *spec, PyModuleDef *def)
return NULL;
}

PyModuleDef_Slot slots_create_null[] = {
static PyModuleDef_Slot slots_create_null[] = {
{Py_mod_create, createfunc_null},
{0, NULL},
};
Expand Down