mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
make PyImport_ImportModuleLevel's first arg const like similiar functions (closes #12173)
This commit is contained in:
parent
8a021009ea
commit
04778a8150
3 changed files with 5 additions and 2 deletions
|
@ -2818,7 +2818,7 @@ PyImport_ImportModuleLevelObject(PyObject *name, PyObject *globals,
|
|||
}
|
||||
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue