Home
last modified time | relevance | path

Searched refs:import_str (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Python/
Dimport.c1945 static PyObject *import_str = NULL; in PyImport_Import() local
1953 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()
/external/tensorflow/tensorflow/python/tools/api/generator/
Dcreate_python_api.py153 import_str = self.format_import(source_module_name, source_name, dest_name)
178 (import_str, priority))
/external/python/cpython2/Python/
Dimport.c2882 static PyObject *import_str = NULL; in PyImport_Import() local
2890 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()