Searched refs:alias_type (Results 1 – 2 of 2) sorted by relevance
/third_party/python/Include/internal/ |
D | pycore_ast_state.h | 153 PyObject *alias_type; member
|
/third_party/python/Python/ |
D | Python-ast.c | 167 Py_CLEAR(state->alias_type); in _PyAST_Fini() 1745 state->alias_type = make_type(state, "alias", state->AST_type, in init_types() 1748 if (!state->alias_type) return 0; in init_types() 1749 if (!add_attributes(state, state->alias_type, alias_attributes, 4)) return in init_types() 1751 if (PyObject_SetAttr(state->alias_type, state->asname, Py_None) == -1) in init_types() 1753 if (PyObject_SetAttr(state->alias_type, state->end_lineno, Py_None) == -1) in init_types() 1755 if (PyObject_SetAttr(state->alias_type, state->end_col_offset, Py_None) == in init_types() 5038 tp = (PyTypeObject *)state->alias_type; in ast2obj_alias() 11933 if (PyModule_AddObjectRef(m, "alias", state->alias_type) < 0) { in astmodule_exec()
|