Home
last modified time | relevance | path

Searched refs:tp_richcompare (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Doc/includes/
Dtypestruct.h46 richcmpfunc tp_richcompare; member
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst267 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/
Dtypeobject.c3995 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,
Dobject.c595 ? (t)->tp_richcompare : NULL)
/external/python/cpython2/Include/
Dobject.h369 richcmpfunc tp_richcompare; member
/external/python/cpython2/Doc/extending/
Dnewtypes.rst1511 0, /* tp_richcompare */
/external/python/cpython2/Misc/
DHISTORY8032 the new tp_richcompare slot in the type object. The cmp() function