summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-03-25 23:27:16 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-03-25 23:27:16 (GMT)
commit06638735fc23da143d787575fd448c2a0aea9e51 (patch)
tree891d5dbadea7e84f0c8f4d085a80efba6c5974c1 /Python
parentfd37dd46e87b6638dbf585c83a14f7c6047741d1 (diff)
downloadcpython-06638735fc23da143d787575fd448c2a0aea9e51.zip
cpython-06638735fc23da143d787575fd448c2a0aea9e51.tar.gz
cpython-06638735fc23da143d787575fd448c2a0aea9e51.tar.bz2
make naming convention consistent
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c
index bcdd68e..86150e2 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -623,7 +623,7 @@ PyImport_AddModule(const char *name)
/* 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 @@ PyImport_ExecCodeModuleEx(char *name, PyObject *co, char *pathname)
return m;
error:
- _RemoveModule(name);
+ remove_module(name);
return NULL;
}