make naming convention consistent

This commit is contained in:
Benjamin Peterson 2010-03-25 23:27:16 +00:00
parent fd37dd46e8
commit 06638735fc

View file

@ -623,7 +623,7 @@ PyImport_AddModule(const char *name)
/* Remove name from sys.modules, if it's there. */ /* Remove name from sys.modules, if it's there. */
static void static void
_RemoveModule(const char *name) remove_module(const char *name)
{ {
PyObject *modules = PyImport_GetModuleDict(); PyObject *modules = PyImport_GetModuleDict();
if (PyDict_GetItemString(modules, name) == NULL) if (PyDict_GetItemString(modules, name) == NULL)
@ -695,7 +695,7 @@ PyImport_ExecCodeModuleEx(char *name, PyObject *co, char *pathname)
return m; return m;
error: error:
_RemoveModule(name); remove_module(name);
return NULL; return NULL;
} }