Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
Dpycore_ast_state.h69 PyObject *ImportFrom_type; member
/third_party/python/Python/
DPython-ast.c83 Py_CLEAR(state->ImportFrom_type); in _PyAST_Fini()
1267 state->ImportFrom_type = make_type(state, "ImportFrom", state->stmt_type, in init_types()
1270 if (!state->ImportFrom_type) return 0; in init_types()
1271 if (PyObject_SetAttr(state->ImportFrom_type, state->module, Py_None) == -1) in init_types()
1273 if (PyObject_SetAttr(state->ImportFrom_type, state->level, Py_None) == -1) in init_types()
4076 tp = (PyTypeObject *)state->ImportFrom_type; in ast2obj_stmt()
7575 tp = state->ImportFrom_type; in obj2ast_stmt()
11693 if (PyModule_AddObjectRef(m, "ImportFrom", state->ImportFrom_type) < 0) { in astmodule_exec()