Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 429ef65

Browse files
committed
Rename a variable to be more in line with the name of the module.
1 parent cf49e20 commit 429ef65

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/marshal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ static PyMethodDef marshal_methods[] = {
11911191
{NULL, NULL} /* sentinel */
11921192
};
11931193

1194-
static struct PyModuleDef impmodule = {
1194+
static struct PyModuleDef marshalmodule = {
11951195
PyModuleDef_HEAD_INIT,
11961196
"marshal",
11971197
NULL,
@@ -1208,7 +1208,7 @@ static struct PyModuleDef impmodule = {
12081208
PyMODINIT_FUNC
12091209
PyMarshal_Init(void)
12101210
{
1211-
PyObject *mod = PyModule_Create(&impmodule);
1211+
PyObject *mod = PyModule_Create(&marshalmodule);
12121212
if (mod == NULL)
12131213
return NULL;
12141214
PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION);

0 commit comments

Comments
 (0)