From: Brett Cannon <bcannon@gmail.com>
Date: Fri, 27 Jun 2008 00:35:35 +0000 (+0000)
Subject: Rename a variable to be more in line with the name of the module.
X-Git-Tag: v3.0b2~156
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=429ef650b749efcade39b5f65862f546610a8191;p=python

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

diff --git a/Python/marshal.c b/Python/marshal.c
index e3619a64af..e7e4154fbd 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);