Searched refs:DictComp_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 205 static PyTypeObject *DictComp_type; variable 760 DictComp_type = make_type("DictComp", expr_type, DictComp_fields, 3); in init_types() 761 if (!DictComp_type) return 0; in init_types() 2710 result = PyType_GenericNew(DictComp_type, NULL, NULL); in ast2obj_expr() 5270 isinstance = PyObject_IsInstance(obj, (PyObject*)DictComp_type); in obj2ast_expr() 6832 if (PyDict_SetItemString(d, "DictComp", (PyObject*)DictComp_type) < 0) in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 248 static PyTypeObject *DictComp_type; variable 931 DictComp_type = make_type("DictComp", expr_type, DictComp_fields, 3); in init_types() 932 if (!DictComp_type) return 0; in init_types() 3188 result = PyType_GenericNew(DictComp_type, NULL, NULL); in ast2obj_expr() 6241 isinstance = PyObject_IsInstance(obj, (PyObject*)DictComp_type); in obj2ast_expr() 8234 if (PyDict_SetItemString(d, "DictComp", (PyObject*)DictComp_type) < 0) in PyInit__ast()
|