Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 60022:1a0e217063b7
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
........
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Thu, 25 Mar 2010 23:30:20 +0000 |
| parents | f49d24b4456e |
| children | 7b69e630d237 |
line wrap: on
line diff
--- a/Python/import.c Thu Mar 25 12:24:38 2010 +0000 +++ b/Python/import.c Thu Mar 25 23:30:20 2010 +0000 @@ -661,7 +661,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) @@ -735,7 +735,7 @@ return m; error: - _RemoveModule(name); + remove_module(name); return NULL; }
