Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
Dpycore_ast_state.h94 PyObject *MatchAs_type; member
/third_party/python/Python/
DPython-ast.c108 Py_CLEAR(state->MatchAs_type); in _PyAST_Fini()
1818 state->MatchAs_type = make_type(state, "MatchAs", state->pattern_type, in init_types()
1821 if (!state->MatchAs_type) return 0; in init_types()
1822 if (PyObject_SetAttr(state->MatchAs_type, state->pattern, Py_None) == -1) in init_types()
1824 if (PyObject_SetAttr(state->MatchAs_type, state->name, Py_None) == -1) in init_types()
5243 tp = (PyTypeObject *)state->MatchAs_type; in ast2obj_pattern()
11424 tp = state->MatchAs_type; in obj2ast_pattern()
11966 if (PyModule_AddObjectRef(m, "MatchAs", state->MatchAs_type) < 0) { in astmodule_exec()