commit | 06638735fc23da143d787575fd448c2a0aea9e51 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Mar 25 23:27:16 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Mar 25 23:27:16 2010 +0000 |
tree | 891d5dbadea7e84f0c8f4d085a80efba6c5974c1 | |
parent | fd37dd46e87b6638dbf585c83a14f7c6047741d1 [diff] [blame] |
make naming convention consistent
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 @@ /* 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; }