Home
last modified time | relevance | path

Searched refs:import_func (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Include/
Dpystate.h48 PyObject *import_func; member
/external/python/cpython3/Python/
Dpylifecycle.c270 interp->import_func = PyDict_GetItemString(interp->builtins, "__import__"); in import_init()
271 if (interp->import_func == NULL) in import_init()
273 Py_INCREF(interp->import_func); in import_init()
Dpystate.c93 interp->import_func = NULL; in PyInterpreterState_New()
130 Py_CLEAR(interp->import_func); in PyInterpreterState_Clear()
Dceval.c5161 PyObject *import_func, *res; in import_name() local
5164 import_func = _PyDict_GetItemId(f->f_builtins, &PyId___import__); in import_name()
5165 if (import_func == NULL) { in import_name()
5171 if (import_func == PyThreadState_GET()->interp->import_func) { in import_name()
5185 Py_INCREF(import_func); in import_name()
5192 res = _PyObject_FastCall(import_func, stack, 5); in import_name()
5193 Py_DECREF(import_func); in import_name()
Dimport.c1594 interp->import_func, NULL); in PyImport_ImportModuleLevelObject()
1660 fromlist, interp->import_func, in PyImport_ImportModuleLevelObject()