Searched refs:Py_RETURN_RICHCOMPARE (Results 1 – 16 of 16) sorted by relevance
/external/python/cpython3/Objects/ |
D | cellobject.c | 73 Py_RETURN_RICHCOMPARE(b == NULL, a == NULL, op); in cell_richcompare()
|
D | bytearrayobject.c | 1062 Py_RETURN_RICHCOMPARE(cmp, 0, op); in bytearray_richcompare() 1065 Py_RETURN_RICHCOMPARE(self_size, other_size, op); in bytearray_richcompare()
|
D | tupleobject.c | 642 Py_RETURN_RICHCOMPARE(vlen, wlen, op); in tuplerichcompare()
|
D | bytesobject.c | 1644 Py_RETURN_RICHCOMPARE(c, 0, op); in bytes_richcompare() 1645 Py_RETURN_RICHCOMPARE(len_a, len_b, op); in bytes_richcompare()
|
D | descrobject.c | 1055 Py_RETURN_RICHCOMPARE(a_descr, b_descr, op); in wrapper_richcompare()
|
D | listobject.c | 2612 Py_RETURN_RICHCOMPARE(Py_SIZE(vl), Py_SIZE(wl), op); in list_richcompare()
|
D | longobject.c | 2931 Py_RETURN_RICHCOMPARE(result, 0, op); in long_richcompare()
|
D | unicodeobject.c | 11172 Py_RETURN_RICHCOMPARE(result, 0, op); in PyUnicode_RichCompare()
|
/external/python/cpython3/Include/ |
D | object.h | 950 #define Py_RETURN_RICHCOMPARE(val1, val2, op) \ macro
|
/external/python/cpython3/Modules/ |
D | parsermodule.c | 325 Py_RETURN_RICHCOMPARE(result, 0, op); in parser_richcompare()
|
D | selectmodule.c | 1935 Py_RETURN_RICHCOMPARE(result, 0, op); in kqueue_event_richcompare()
|
D | _tkinter.c | 889 Py_RETURN_RICHCOMPARE(result, 0, op); in PyTclObject_richcompare()
|
D | _datetimemodule.c | 1700 Py_RETURN_RICHCOMPARE(diff, 0, op); in diff_to_bool()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0a3.rst | 1614 Add Py_RETURN_RICHCOMPARE macro to reduce boilerplate code in rich
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 628 .. c:function:: PyObject *Py_RETURN_RICHCOMPARE(VAL_A, VAL_B, int op)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.7.rst | 1651 The new :c:macro:`Py_RETURN_RICHCOMPARE` macro eases writing rich
|