Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
H A Dpycore_ast_state.h96 PyObject *MatchAs_type; member
/third_party/python/Python/
H A DPython-ast.c109 Py_CLEAR(state->MatchAs_type); in _PyAST_Fini()
1831 state->MatchAs_type = make_type(state, "MatchAs", state->pattern_type, in init_types()
1834 if (!state->MatchAs_type) return 0; in init_types()
1835 if (PyObject_SetAttr(state->MatchAs_type, state->pattern, Py_None) == -1) in init_types()
1837 if (PyObject_SetAttr(state->MatchAs_type, state->name, Py_None) == -1) in init_types()
5379 tp = (PyTypeObject *)state->MatchAs_type; in ast2obj_pattern()
11731 tp = state->MatchAs_type; in obj2ast_pattern()
12276 if (PyModule_AddObjectRef(m, "MatchAs", state->MatchAs_type) < 0) { in astmodule_exec()

Completed in 14 milliseconds