Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
DPython-ast.c435 static PyTypeObject *comprehension_type; variable
1140 comprehension_type = make_type("comprehension", &AST_type, in init_types()
1142 if (!comprehension_type) return 0; in init_types()
1143 if (!add_attributes(comprehension_type, NULL, 0)) return 0; in init_types()
3695 result = PyType_GenericNew(comprehension_type, NULL, NULL); in ast2obj_comprehension()
8339 if (PyDict_SetItemString(d, "comprehension", (PyObject*)comprehension_type) in PyInit__ast()
/external/python/cpython2/Python/
DPython-ast.c346 static PyTypeObject *comprehension_type; variable
949 comprehension_type = make_type("comprehension", &AST_type, in init_types()
951 if (!comprehension_type) return 0; in init_types()
3149 result = PyType_GenericNew(comprehension_type, NULL, NULL); in ast2obj_comprehension()
6909 (PyObject*)comprehension_type) < 0) return; in init_ast()