Searched refs:And_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 303 static PyTypeObject *And_type; variable 828 And_type = make_type("And", boolop_type, NULL, 0); in init_types() 829 if (!And_type) return 0; in init_types() 830 And_singleton = PyType_GenericNew(And_type, NULL, NULL); in init_types() 6130 isinstance = PyObject_IsInstance(obj, (PyObject *)And_type); in obj2ast_boolop() 6869 if (PyDict_SetItemString(d, "And", (PyObject*)And_type) < 0) return; in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 391 static PyTypeObject *And_type; variable 1015 And_type = make_type("And", boolop_type, NULL, 0); in init_types() 1016 if (!And_type) return 0; in init_types() 1017 And_singleton = PyType_GenericNew(And_type, NULL, NULL); in init_types() 7328 isinstance = PyObject_IsInstance(obj, (PyObject *)And_type); in obj2ast_boolop() 8293 if (PyDict_SetItemString(d, "And", (PyObject*)And_type) < 0) return NULL; in PyInit__ast()
|