Searched refs:tp_richcompare (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 46 richcmpfunc tp_richcompare; member
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 267 This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_richcompare` and 269 … :c:member:`~PyTypeObject.tp_richcompare`, and :c:member:`~PyTypeObject.tp_hash` when the subtype's 270 …:c:member:`~PyTypeObject.tp_compare`, :c:member:`~PyTypeObject.tp_richcompare`, and :c:member:`~Py… 344 … and :c:member:`~PyTypeObject.tp_richcompare` fields are both *NULL*, a default hash value based on 347 This field is inherited by subtypes together with :c:member:`~PyTypeObject.tp_richcompare` and 349 …:c:member:`~PyTypeObject.tp_richcompare`, and :c:member:`~PyTypeObject.tp_hash`, when the subtype's 350 …:c:member:`~PyTypeObject.tp_compare`, :c:member:`~PyTypeObject.tp_richcompare` and :c:member:`~PyT… 493 If this bit is set, the type object has the :c:member:`~PyTypeObject.tp_richcompare` field, as 680 .. c:member:: richcmpfunc PyTypeObject.tp_richcompare 683 ``PyObject *tp_richcompare(PyObject *a, PyObject *b, int op)``. [all …]
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 3995 type->tp_richcompare == NULL && 3999 type->tp_richcompare = base->tp_richcompare; 5699 if (Py_TYPE(self)->tp_richcompare == slot_tp_richcompare) { 5705 if (Py_TYPE(other)->tp_richcompare == slot_tp_richcompare) { 5998 TPSLOT("__lt__", tp_richcompare, slot_tp_richcompare, richcmp_lt, 6000 TPSLOT("__le__", tp_richcompare, slot_tp_richcompare, richcmp_le, 6002 TPSLOT("__eq__", tp_richcompare, slot_tp_richcompare, richcmp_eq, 6004 TPSLOT("__ne__", tp_richcompare, slot_tp_richcompare, richcmp_ne, 6006 TPSLOT("__gt__", tp_richcompare, slot_tp_richcompare, richcmp_gt, 6008 TPSLOT("__ge__", tp_richcompare, slot_tp_richcompare, richcmp_ge,
|
D | object.c | 595 ? (t)->tp_richcompare : NULL)
|
/external/python/cpython2/Include/ |
D | object.h | 369 richcmpfunc tp_richcompare; member
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 1511 0, /* tp_richcompare */
|
/external/python/cpython2/Misc/ |
D | HISTORY | 8032 the new tp_richcompare slot in the type object. The cmp() function
|