Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
H A Dpycore_ast_state.h61 PyObject *FunctionDef_type; member
/third_party/python/Python/
H A DPython-ast.c74 Py_CLEAR(state->FunctionDef_type); in _PyAST_Fini()
1167 state->FunctionDef_type = make_type(state, "FunctionDef", state->stmt_type, in init_types()
1170 if (!state->FunctionDef_type) return 0; in init_types()
1171 if (PyObject_SetAttr(state->FunctionDef_type, state->returns, Py_None) == in init_types()
1174 if (PyObject_SetAttr(state->FunctionDef_type, state->type_comment, Py_None) in init_types()
3699 tp = (PyTypeObject *)state->FunctionDef_type; in ast2obj_stmt()
5809 tp = state->FunctionDef_type; in obj2ast_stmt()
11942 if (PyModule_AddObjectRef(m, "FunctionDef", state->FunctionDef_type) < 0) { in astmodule_exec()

Completed in 15 milliseconds