Searched refs:Yield_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 216 static PyTypeObject *Yield_type; variable 765 Yield_type = make_type("Yield", expr_type, Yield_fields, 1); in init_types() 766 if (!Yield_type) return 0; in init_types() 2745 result = PyType_GenericNew(Yield_type, NULL, NULL); in ast2obj_expr() 5390 isinstance = PyObject_IsInstance(obj, (PyObject*)Yield_type); in obj2ast_expr() 6836 if (PyDict_SetItemString(d, "Yield", (PyObject*)Yield_type) < 0) return; in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 264 static PyTypeObject *Yield_type; variable 938 Yield_type = make_type("Yield", expr_type, Yield_fields, 1); in init_types() 939 if (!Yield_type) return 0; in init_types() 3231 result = PyType_GenericNew(Yield_type, NULL, NULL); in ast2obj_expr() 6389 isinstance = PyObject_IsInstance(obj, (PyObject*)Yield_type); in obj2ast_expr() 8240 if (PyDict_SetItemString(d, "Yield", (PyObject*)Yield_type) < 0) return in PyInit__ast()
|