Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
DPython-ast.c180 static PyTypeObject *IfExp_type; variable
750 IfExp_type = make_type("IfExp", expr_type, IfExp_fields, 3); in init_types()
751 if (!IfExp_type) return 0; in init_types()
2638 result = PyType_GenericNew(IfExp_type, NULL, NULL); in ast2obj_expr()
5005 isinstance = PyObject_IsInstance(obj, (PyObject*)IfExp_type); in obj2ast_expr()
6825 if (PyDict_SetItemString(d, "IfExp", (PyObject*)IfExp_type) < 0) return; in init_ast()
/external/python/cpython3/Python/
DPython-ast.c219 static PyTypeObject *IfExp_type; variable
921 IfExp_type = make_type("IfExp", expr_type, IfExp_fields, 3); in init_types()
922 if (!IfExp_type) return 0; in init_types()
3118 result = PyType_GenericNew(IfExp_type, NULL, NULL); in ast2obj_expr()
5966 isinstance = PyObject_IsInstance(obj, (PyObject*)IfExp_type); in obj2ast_expr()
8226 if (PyDict_SetItemString(d, "IfExp", (PyObject*)IfExp_type) < 0) return in PyInit__ast()