Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
DPython-ast.c146 static PyTypeObject *Expr_type; variable
731 Expr_type = make_type("Expr", stmt_type, Expr_fields, 1); in init_types()
732 if (!Expr_type) return 0; in init_types()
2527 result = PyType_GenericNew(Expr_type, NULL, NULL); in ast2obj_stmt()
4732 isinstance = PyObject_IsInstance(obj, (PyObject*)Expr_type); in obj2ast_stmt()
6812 if (PyDict_SetItemString(d, "Expr", (PyObject*)Expr_type) < 0) return; in init_ast()
/external/python/cpython3/Python/
DPython-ast.c181 static PyTypeObject *Expr_type; variable
902 Expr_type = make_type("Expr", stmt_type, Expr_fields, 1); in init_types()
903 if (!Expr_type) return 0; in init_types()
3008 result = PyType_GenericNew(Expr_type, NULL, NULL); in ast2obj_stmt()
5683 isinstance = PyObject_IsInstance(obj, (PyObject*)Expr_type); in obj2ast_stmt()
8211 if (PyDict_SetItemString(d, "Expr", (PyObject*)Expr_type) < 0) return NULL; in PyInit__ast()