diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-03-25 23:27:16 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-03-25 23:27:16 (GMT) |
commit | 06638735fc23da143d787575fd448c2a0aea9e51 (patch) | |
tree | 891d5dbadea7e84f0c8f4d085a80efba6c5974c1 /Python | |
parent | fd37dd46e87b6638dbf585c83a14f7c6047741d1 (diff) | |
download | cpython-06638735fc23da143d787575fd448c2a0aea9e51.zip cpython-06638735fc23da143d787575fd448c2a0aea9e51.tar.gz cpython-06638735fc23da143d787575fd448c2a0aea9e51.tar.bz2 |
make naming convention consistent
Diffstat (limited to 'Python')
-rw-r--r-- | Python/import.c | 4 |
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; } |