Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
DPython-ast.c104 static PyTypeObject *Raise_type; variable
713 Raise_type = make_type("Raise", stmt_type, Raise_fields, 3); in init_types()
714 if (!Raise_type) return 0; in init_types()
2404 result = PyType_GenericNew(Raise_type, NULL, NULL); in ast2obj_stmt()
4288 isinstance = PyObject_IsInstance(obj, (PyObject*)Raise_type); in obj2ast_stmt()
6798 if (PyDict_SetItemString(d, "Raise", (PyObject*)Raise_type) < 0) return; in init_ast()
/external/python/cpython3/Python/
DPython-ast.c138 static PyTypeObject *Raise_type; variable
888 Raise_type = make_type("Raise", stmt_type, Raise_fields, 2); in init_types()
889 if (!Raise_type) return 0; in init_types()
2910 result = PyType_GenericNew(Raise_type, NULL, NULL); in ast2obj_stmt()
5280 isinstance = PyObject_IsInstance(obj, (PyObject*)Raise_type); in obj2ast_stmt()
8198 if (PyDict_SetItemString(d, "Raise", (PyObject*)Raise_type) < 0) return in PyInit__ast()