commit | 04778a8150430edc2c441f2f86193ca690d60aa3 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Wed May 25 09:29:00 2011 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Wed May 25 09:29:00 2011 -0500 |
tree | 0cf223fb7b2516fcbbbc8183e5cd5799abd7a5b6 | |
parent | 8a021009ea5097dc7914d64b075f95133c15a58f [diff] [blame] |
make PyImport_ImportModuleLevel's first arg const like similiar functions (closes #12173)
diff --git a/Include/import.h b/Include/import.h index 6331edf..45544111 100644 --- a/Include/import.h +++ b/Include/import.h
@@ -44,7 +44,7 @@ const char *name /* UTF-8 encoded string */ ); PyAPI_FUNC(PyObject *) PyImport_ImportModuleLevel( - char *name, /* UTF-8 encoded string */ + const char *name, /* UTF-8 encoded string */ PyObject *globals, PyObject *locals, PyObject *fromlist,