]> granicus.if.org Git - python/commitdiff
Rename a variable to be more in line with the name of the module.
authorBrett Cannon <bcannon@gmail.com>
Fri, 27 Jun 2008 00:35:35 +0000 (00:35 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 27 Jun 2008 00:35:35 +0000 (00:35 +0000)
Python/marshal.c

index e3619a64affe02ea29ca16e955834abe9410f797..e7e4154fbd2011952e5abfda6c72671c3426aa18 100644 (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);