diff Python/import.c @ 60021:16a7d32605bb legacy-trunk

make naming convention consistent
author Benjamin Peterson <benjamin@python.org>
date Thu, 25 Mar 2010 23:27:16 +0000
parents 4468666d01c4
children 5cea27275af1
line wrap: on
line diff
--- a/Python/import.c	Thu Mar 25 20:39:10 2010 +0000
+++ b/Python/import.c	Thu Mar 25 23:27:16 2010 +0000
@@ -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;
 }