Mercurial > cpython-lru_cache-weakref
diff Python/marshal.c @ 48370:bfaf14295794
Rename a variable to be more in line with the name of the module.
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Fri, 27 Jun 2008 00:35:35 +0000 |
| parents | f6726f32ef70 |
| children | cd3b0b7fd8e1 |
line wrap: on
line diff
--- a/Python/marshal.c Thu Jun 26 21:45:04 2008 +0000 +++ b/Python/marshal.c Fri Jun 27 00:35:35 2008 +0000 @@ -1191,7 +1191,7 @@ {NULL, NULL} /* sentinel */ }; -static struct PyModuleDef impmodule = { +static struct PyModuleDef marshalmodule = { PyModuleDef_HEAD_INIT, "marshal", NULL, @@ -1208,7 +1208,7 @@ 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);
