diff Python/import.c @ 70374:a9126e8770e5

make PyImport_ImportModuleLevel's first arg const like similiar functions (closes #12173)
author Benjamin Peterson <benjamin@python.org>
date Wed, 25 May 2011 09:29:00 -0500
parents e4e92d68ba3a
children 1e73b90e4d52
line wrap: on
line diff
--- a/Python/import.c	Wed May 25 09:27:43 2011 -0500
+++ b/Python/import.c	Wed May 25 09:29:00 2011 -0500
@@ -2818,7 +2818,7 @@
 }
 
 PyObject *
-PyImport_ImportModuleLevel(char *name, PyObject *globals, PyObject *locals,
+PyImport_ImportModuleLevel(const char *name, PyObject *globals, PyObject *locals,
                            PyObject *fromlist, int level)
 {
     PyObject *nameobj, *mod;