Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
DPython-ast.c40 static PyTypeObject *FunctionDef_type; variable
690 FunctionDef_type = make_type("FunctionDef", stmt_type, in init_types()
692 if (!FunctionDef_type) return 0; in init_types()
2200 result = PyType_GenericNew(FunctionDef_type, NULL, NULL); in ast2obj_stmt()
3519 isinstance = PyObject_IsInstance(obj, (PyObject*)FunctionDef_type); in obj2ast_stmt()
6781 if (PyDict_SetItemString(d, "FunctionDef", (PyObject*)FunctionDef_type) in init_ast()
/external/python/cpython3/Python/
DPython-ast.c36 static PyTypeObject *FunctionDef_type; variable
858 FunctionDef_type = make_type("FunctionDef", stmt_type, FunctionDef_fields, in init_types()
860 if (!FunctionDef_type) return 0; in init_types()
2633 result = PyType_GenericNew(FunctionDef_type, NULL, NULL); in ast2obj_stmt()
4146 isinstance = PyObject_IsInstance(obj, (PyObject*)FunctionDef_type); in obj2ast_stmt()
8173 if (PyDict_SetItemString(d, "FunctionDef", (PyObject*)FunctionDef_type) < in PyInit__ast()