Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
DPython-ast.c300 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/
DPython-ast.c388 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()