Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/tools/api/generator/
Dcreate_python_api.py110 import_str = format_import(source_module_name, source_name, dest_name)
130 self._module_imports[dest_module_name][full_api_name].add(import_str)
/external/python/cpython3/Python/
Dimport.c1884 static PyObject *import_str = NULL; in PyImport_Import() local
1892 import_str = PyUnicode_InternFromString("__import__"); in PyImport_Import()
1893 if (import_str == NULL) in PyImport_Import()
1924 import = PyObject_GetItem(builtins, import_str); in PyImport_Import()
1926 PyErr_SetObject(PyExc_KeyError, import_str); in PyImport_Import()
1929 import = PyObject_GetAttr(builtins, import_str); in PyImport_Import()
/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()