summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-03-25 23:30:20 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-03-25 23:30:20 (GMT)
commitfa0aebacd9f578988f37f938ce484604eb8d7212 (patch)
tree1c912113e26aaddfae4bbe91b38152828b6eaffd /Python/import.c
parent4ce881e928fc2dfd15a4ffafcf59ed71e51f2d24 (diff)
downloadcpython-fa0aebacd9f578988f37f938ce484604eb8d7212.zip
cpython-fa0aebacd9f578988f37f938ce484604eb8d7212.tar.gz
cpython-fa0aebacd9f578988f37f938ce484604eb8d7212.tar.bz2
Merged revisions 79428 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79428 | benjamin.peterson | 2010-03-25 18:27:16 -0500 (Thu, 25 Mar 2010) | 1 line make naming convention consistent ........
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c
index 036d17e..b046362 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -661,7 +661,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)
@@ -735,7 +735,7 @@ PyImport_ExecCodeModuleEx(char *name, PyObject *co, char *pathname)
return m;
error:
- _RemoveModule(name);
+ remove_module(name);
return NULL;
}