Searched refs:BinOp_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 164 static PyTypeObject *BinOp_type; variable 744 BinOp_type = make_type("BinOp", expr_type, BinOp_fields, 3); in init_types() 745 if (!BinOp_type) return 0; in init_types() 2591 result = PyType_GenericNew(BinOp_type, NULL, NULL); in ast2obj_expr() 4884 isinstance = PyObject_IsInstance(obj, (PyObject*)BinOp_type); in obj2ast_expr() 6820 if (PyDict_SetItemString(d, "BinOp", (PyObject*)BinOp_type) < 0) return; in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 200 static PyTypeObject *BinOp_type; variable 915 BinOp_type = make_type("BinOp", expr_type, BinOp_fields, 3); in init_types() 916 if (!BinOp_type) return 0; in init_types() 3071 result = PyType_GenericNew(BinOp_type, NULL, NULL); in ast2obj_expr() 5838 isinstance = PyObject_IsInstance(obj, (PyObject*)BinOp_type); in obj2ast_expr() 8220 if (PyDict_SetItemString(d, "BinOp", (PyObject*)BinOp_type) < 0) return in PyInit__ast()
|