Home
last modified time | relevance | path

Searched refs:ImportFrom_type (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
DPython-ast.c130 static PyTypeObject *ImportFrom_type; variable
724 ImportFrom_type = make_type("ImportFrom", stmt_type, ImportFrom_fields, in init_types()
726 if (!ImportFrom_type) return 0; in init_types()
2480 result = PyType_GenericNew(ImportFrom_type, NULL, NULL); in ast2obj_stmt()
4580 isinstance = PyObject_IsInstance(obj, (PyObject*)ImportFrom_type); in obj2ast_stmt()
6807 if (PyDict_SetItemString(d, "ImportFrom", (PyObject*)ImportFrom_type) < in init_ast()
/external/python/cpython3/Python/
DPython-ast.c165 static PyTypeObject *ImportFrom_type; variable
896 ImportFrom_type = make_type("ImportFrom", stmt_type, ImportFrom_fields, 3); in init_types()
897 if (!ImportFrom_type) return 0; in init_types()
2971 result = PyType_GenericNew(ImportFrom_type, NULL, NULL); in ast2obj_stmt()
5532 isinstance = PyObject_IsInstance(obj, (PyObject*)ImportFrom_type); in obj2ast_stmt()
8205 if (PyDict_SetItemString(d, "ImportFrom", (PyObject*)ImportFrom_type) < 0) in PyInit__ast()