From 429ef650b749efcade39b5f65862f546610a8191 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 27 Jun 2008 00:35:35 +0000 Subject: [PATCH] Rename a variable to be more in line with the name of the module. --- Python/marshal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python/marshal.c b/Python/marshal.c index e3619a64aff..e7e4154fbd2 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -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);