Home
last modified time | relevance | path

Searched refs:TPSLOT (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dtypeobject.c5992 #undef TPSLOT
6003 #define TPSLOT(NAME, SLOT, FUNCTION, WRAPPER, DOC) \ macro
6038 TPSLOT("__str__", tp_print, NULL, NULL, ""),
6039 TPSLOT("__repr__", tp_print, NULL, NULL, ""),
6040 TPSLOT("__getattribute__", tp_getattr, NULL, NULL, ""),
6041 TPSLOT("__getattr__", tp_getattr, NULL, NULL, ""),
6042 TPSLOT("__setattr__", tp_setattr, NULL, NULL, ""),
6043 TPSLOT("__delattr__", tp_setattr, NULL, NULL, ""),
6044 TPSLOT("__cmp__", tp_compare, _PyObject_SlotCompare, wrap_cmpfunc,
6046 TPSLOT("__repr__", tp_repr, slot_tp_repr, wrap_unaryfunc,
[all …]
/external/python/cpython3/Objects/
Dtypeobject.c6743 #undef TPSLOT
6755 #define TPSLOT(NAME, SLOT, FUNCTION, WRAPPER, DOC) \ macro
6792 TPSLOT("__getattribute__", tp_getattr, NULL, NULL, ""),
6793 TPSLOT("__getattr__", tp_getattr, NULL, NULL, ""),
6794 TPSLOT("__setattr__", tp_setattr, NULL, NULL, ""),
6795 TPSLOT("__delattr__", tp_setattr, NULL, NULL, ""),
6796 TPSLOT("__repr__", tp_repr, slot_tp_repr, wrap_unaryfunc,
6798 TPSLOT("__hash__", tp_hash, slot_tp_hash, wrap_hashfunc,
6803 TPSLOT("__str__", tp_str, slot_tp_str, wrap_unaryfunc,
6805 TPSLOT("__getattribute__", tp_getattro, slot_tp_getattr_hook,
[all …]