Searched refs:Add_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 311 static PyTypeObject *Add_type; variable 839 Add_type = make_type("Add", operator_type, NULL, 0); in init_types() 840 if (!Add_type) return 0; in init_types() 841 Add_singleton = PyType_GenericNew(Add_type, NULL, NULL); in init_types() 6161 isinstance = PyObject_IsInstance(obj, (PyObject *)Add_type); in obj2ast_operator() 6873 if (PyDict_SetItemString(d, "Add", (PyObject*)Add_type) < 0) return; in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 399 static PyTypeObject *Add_type; variable 1026 Add_type = make_type("Add", operator_type, NULL, 0); in init_types() 1027 if (!Add_type) return 0; in init_types() 1028 Add_singleton = PyType_GenericNew(Add_type, NULL, NULL); in init_types() 7354 isinstance = PyObject_IsInstance(obj, (PyObject *)Add_type); in obj2ast_operator() 8297 if (PyDict_SetItemString(d, "Add", (PyObject*)Add_type) < 0) return NULL; in PyInit__ast()
|