mirror of https://github.com/python/cpython
Added PyImport_ImportModuleEx(name, globals, locals, fromlist); this
is like PyImport_ImporModule(name) but receives the globals and locals dict and the fromlist arguments as well. (The name is a char*; the others are PyObject*s).
This commit is contained in:
parent
9eb671fac3
commit
026de19906
|
@ -42,6 +42,8 @@ PyObject *PyImport_ExecCodeModule Py_PROTO((char *name, PyObject *co));
|
|||
PyObject *PyImport_GetModuleDict Py_PROTO((void));
|
||||
PyObject *PyImport_AddModule Py_PROTO((char *name));
|
||||
PyObject *PyImport_ImportModule Py_PROTO((char *name));
|
||||
PyObject *PyImport_ImportModuleEx Py_PROTO((
|
||||
char *name, PyObject *globals, PyObject *locals, PyObject *fromlist));
|
||||
PyObject *PyImport_Import Py_PROTO((PyObject *name));
|
||||
PyObject *PyImport_ReloadModule Py_PROTO((PyObject *m));
|
||||
void PyImport_Cleanup Py_PROTO((void));
|
||||
|
|
|
@ -211,6 +211,8 @@ EXPORTS
|
|||
PyImport_GetModuleDict
|
||||
PyImport_GetMagicNumber
|
||||
PyImport_ImportModule
|
||||
PyImport_ImportModuleEx
|
||||
PyImport_Import
|
||||
PyImport_ImportFrozenModule
|
||||
PyImport_ReloadModule
|
||||
PyNumber_Coerce
|
||||
|
|
Loading…
Reference in New Issue