Searched refs:boolop_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 300 static PyTypeObject *boolop_type; variable 825 boolop_type = make_type("boolop", &AST_type, NULL, 0); in init_types() 826 if (!boolop_type) return 0; in init_types() 827 if (!add_attributes(boolop_type, NULL, 0)) return 0; in init_types() 828 And_type = make_type("And", boolop_type, NULL, 0); in init_types() 832 Or_type = make_type("Or", boolop_type, NULL, 0); in init_types() 6867 if (PyDict_SetItemString(d, "boolop", (PyObject*)boolop_type) < 0) in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 388 static PyTypeObject *boolop_type; variable 1012 boolop_type = make_type("boolop", &AST_type, NULL, 0); in init_types() 1013 if (!boolop_type) return 0; in init_types() 1014 if (!add_attributes(boolop_type, NULL, 0)) return 0; in init_types() 1015 And_type = make_type("And", boolop_type, NULL, 0); in init_types() 1019 Or_type = make_type("Or", boolop_type, NULL, 0); in init_types() 8291 if (PyDict_SetItemString(d, "boolop", (PyObject*)boolop_type) < 0) return in PyInit__ast()
|