diff options
| author | Benjamin Peterson <benjamin@python.org> | 2010-03-25 23:27:16 +0000 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2010-03-25 23:27:16 +0000 |
| commit | b6ac5e12373f37da19578a60e13fab7c4ca5e426 (patch) | |
| tree | d96b288090ed4249c9e5bf62455868bf350894b9 /Python | |
| parent | dd99c9cdabb466f1f000ce2661c18e80bf203165 (diff) | |
| download | cpython-b6ac5e12373f37da19578a60e13fab7c4ca5e426.tar.gz | |
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 bcdd68e0ef..86150e262d 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; } |
