[Python-3000-checkins] r64551 - python/branches/py3k/Python/marshal.c

brett.cannon python-3000-checkins at python.org
Fri Jun 27 02:35:36 CEST 2008


Author: brett.cannon
Date: Fri Jun 27 02:35:35 2008
New Revision: 64551

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


Modified:
   python/branches/py3k/Python/marshal.c

Modified: python/branches/py3k/Python/marshal.c
==============================================================================
--- python/branches/py3k/Python/marshal.c	(original)
+++ python/branches/py3k/Python/marshal.c	Fri Jun 27 02:35:35 2008
@@ -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);


More information about the Python-3000-checkins mailing list