Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
DPython-ast.c121 static PyTypeObject *Assert_type; variable
720 Assert_type = make_type("Assert", stmt_type, Assert_fields, 2); in init_types()
721 if (!Assert_type) return 0; in init_types()
2457 result = PyType_GenericNew(Assert_type, NULL, NULL); in ast2obj_stmt()
4505 isinstance = PyObject_IsInstance(obj, (PyObject*)Assert_type); in obj2ast_stmt()
6803 if (PyDict_SetItemString(d, "Assert", (PyObject*)Assert_type) < 0) in init_ast()
/external/python/cpython3/Python/
DPython-ast.c154 static PyTypeObject *Assert_type; variable
892 Assert_type = make_type("Assert", stmt_type, Assert_fields, 2); in init_types()
893 if (!Assert_type) return 0; in init_types()
2948 result = PyType_GenericNew(Assert_type, NULL, NULL); in ast2obj_stmt()
5453 isinstance = PyObject_IsInstance(obj, (PyObject*)Assert_type); in obj2ast_stmt()
8201 if (PyDict_SetItemString(d, "Assert", (PyObject*)Assert_type) < 0) return in PyInit__ast()