Rename a variable to be more in line with the name of the module.

This commit is contained in:
Brett Cannon 2008-06-27 00:35:35 +00:00
parent cf49e2053a
commit 429ef650b7

View File

@ -1191,7 +1191,7 @@ static PyMethodDef marshal_methods[] = {
{NULL, NULL} /* sentinel */
};
static struct PyModuleDef impmodule = {
static struct PyModuleDef marshalmodule = {
PyModuleDef_HEAD_INIT,
"marshal",
NULL,
@ -1208,7 +1208,7 @@ static struct PyModuleDef impmodule = {
PyMODINIT_FUNC
PyMarshal_Init(void)
{
PyObject *mod = PyModule_Create(&impmodule);
PyObject *mod = PyModule_Create(&marshalmodule);
if (mod == NULL)
return NULL;
PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION);