Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
DPython-ast.c211 static PyTypeObject *GeneratorExp_type; variable
762 GeneratorExp_type = make_type("GeneratorExp", expr_type, in init_types()
764 if (!GeneratorExp_type) return 0; in init_types()
2730 result = PyType_GenericNew(GeneratorExp_type, NULL, NULL); in ast2obj_expr()
5337 isinstance = PyObject_IsInstance(obj, (PyObject*)GeneratorExp_type); in obj2ast_expr()
6835 (PyObject*)GeneratorExp_type) < 0) return; in init_ast()
/external/python/cpython3/Python/
DPython-ast.c255 static PyTypeObject *GeneratorExp_type; variable
933 GeneratorExp_type = make_type("GeneratorExp", expr_type, in init_types()
935 if (!GeneratorExp_type) return 0; in init_types()
3207 result = PyType_GenericNew(GeneratorExp_type, NULL, NULL); in ast2obj_expr()
6310 isinstance = PyObject_IsInstance(obj, (PyObject*)GeneratorExp_type); in obj2ast_expr()
8236 if (PyDict_SetItemString(d, "GeneratorExp", (PyObject*)GeneratorExp_type) < in PyInit__ast()