Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
Dpycore_ast_state.h59 PyObject *FunctionDef_type; member
/third_party/python/Python/
DPython-ast.c73 Py_CLEAR(state->FunctionDef_type); in _PyAST_Fini()
1158 state->FunctionDef_type = make_type(state, "FunctionDef", state->stmt_type, in init_types()
1161 if (!state->FunctionDef_type) return 0; in init_types()
1162 if (PyObject_SetAttr(state->FunctionDef_type, state->returns, Py_None) == in init_types()
1165 if (PyObject_SetAttr(state->FunctionDef_type, state->type_comment, Py_None) in init_types()
3651 tp = (PyTypeObject *)state->FunctionDef_type; in ast2obj_stmt()
5666 tp = state->FunctionDef_type; in obj2ast_stmt()
11635 if (PyModule_AddObjectRef(m, "FunctionDef", state->FunctionDef_type) < 0) { in astmodule_exec()