Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa0aeba

Browse files
committed
Merged revisions 79428 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r79428 | benjamin.peterson | 2010-03-25 18:27:16 -0500 (Thu, 25 Mar 2010) | 1 line make naming convention consistent ........
1 parent 4ce881e commit fa0aeba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/import.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ PyImport_AddModule(const char *name)
661661

662662
/* Remove name from sys.modules, if it's there. */
663663
static void
664-
_RemoveModule(const char *name)
664+
remove_module(const char *name)
665665
{
666666
PyObject *modules = PyImport_GetModuleDict();
667667
if (PyDict_GetItemString(modules, name) == NULL)
@@ -735,7 +735,7 @@ PyImport_ExecCodeModuleEx(char *name, PyObject *co, char *pathname)
735735
return m;
736736

737737
error:
738-
_RemoveModule(name);
738+
remove_module(name);
739739
return NULL;
740740
}
741741

0 commit comments

Comments
 (0)