[Python-checkins] r79428 - python/trunk/Python/import.c
benjamin.peterson
python-checkins at python.org
Fri Mar 26 00:27:16 CET 2010
Author: benjamin.peterson
Date: Fri Mar 26 00:27:16 2010
New Revision: 79428
Log:
make naming convention consistent
Modified:
python/trunk/Python/import.c
Modified: python/trunk/Python/import.c
==============================================================================
--- python/trunk/Python/import.c (original)
+++ python/trunk/Python/import.c Fri Mar 26 00:27:16 2010
@@ -623,7 +623,7 @@
/* Remove name from sys.modules, if it's there. */
static void
-_RemoveModule(const char *name)
+remove_module(const char *name)
{
PyObject *modules = PyImport_GetModuleDict();
if (PyDict_GetItemString(modules, name) == NULL)
@@ -695,7 +695,7 @@
return m;
error:
- _RemoveModule(name);
+ remove_module(name);
return NULL;
}
More information about the Python-checkins
mailing list