summaryrefslogtreecommitdiffstats
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-06-27 00:35:35 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-06-27 00:35:35 (GMT)
commit429ef650b749efcade39b5f65862f546610a8191 (patch)
treef664408d43e7c1ddc01a3ccb2cf65365c7ebdbda /Python/marshal.c
parentcf49e2053a057c4cf59d889d60eec8140eafa3ef (diff)
downloadcpython-429ef650b749efcade39b5f65862f546610a8191.zip
cpython-429ef650b749efcade39b5f65862f546610a8191.tar.gz
cpython-429ef650b749efcade39b5f65862f546610a8191.tar.bz2
Rename a variable to be more in line with the name of the module.
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index e3619a6..e7e4154 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);