Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
H A Dpycore_ast_state.h71 PyObject *ImportFrom_type; member
/third_party/python/Python/
H A DPython-ast.c84 Py_CLEAR(state->ImportFrom_type); in _PyAST_Fini()
1280 state->ImportFrom_type = make_type(state, "ImportFrom", state->stmt_type, in init_types()
1283 if (!state->ImportFrom_type) return 0; in init_types()
1284 if (PyObject_SetAttr(state->ImportFrom_type, state->module, Py_None) == -1) in init_types()
1286 if (PyObject_SetAttr(state->ImportFrom_type, state->level, Py_None) == -1) in init_types()
4152 tp = (PyTypeObject *)state->ImportFrom_type; in ast2obj_stmt()
7882 tp = state->ImportFrom_type; in obj2ast_stmt()
12003 if (PyModule_AddObjectRef(m, "ImportFrom", state->ImportFrom_type) < 0) { in astmodule_exec()

Completed in 15 milliseconds