Searched refs:import_str (Results 1 – 3 of 3) sorted by relevance
1945 static PyObject *import_str = NULL; in PyImport_Import() local1953 import_str = PyUnicode_InternFromString("__import__"); in PyImport_Import()1954 if (import_str == NULL) in PyImport_Import()1985 import = PyObject_GetItem(builtins, import_str); in PyImport_Import()1987 PyErr_SetObject(PyExc_KeyError, import_str); in PyImport_Import()1990 import = PyObject_GetAttr(builtins, import_str); in PyImport_Import()
153 import_str = self.format_import(source_module_name, source_name, dest_name)178 (import_str, priority))
2882 static PyObject *import_str = NULL; in PyImport_Import() local2890 import_str = PyString_InternFromString("__import__"); in PyImport_Import()2891 if (import_str == NULL) in PyImport_Import()2922 import = PyObject_GetItem(builtins, import_str); in PyImport_Import()2924 PyErr_SetObject(PyExc_KeyError, import_str); in PyImport_Import()2927 import = PyObject_GetAttr(builtins, import_str); in PyImport_Import()