|
|
@ -8065,7 +8065,7 @@ static slotdef slotdefs[] = { |
|
|
UNSLOT("__abs__", nb_absolute, slot_nb_absolute, wrap_unaryfunc, |
|
|
UNSLOT("__abs__", nb_absolute, slot_nb_absolute, wrap_unaryfunc, |
|
|
"abs(self)"), |
|
|
"abs(self)"), |
|
|
UNSLOT("__bool__", nb_bool, slot_nb_bool, wrap_inquirypred, |
|
|
UNSLOT("__bool__", nb_bool, slot_nb_bool, wrap_inquirypred, |
|
|
"self != 0"), |
|
|
|
|
|
|
|
|
"True if self else False"), |
|
|
UNSLOT("__invert__", nb_invert, slot_nb_invert, wrap_unaryfunc, "~self"), |
|
|
UNSLOT("__invert__", nb_invert, slot_nb_invert, wrap_unaryfunc, "~self"), |
|
|
BINSLOT("__lshift__", nb_lshift, slot_nb_lshift, "<<"), |
|
|
BINSLOT("__lshift__", nb_lshift, slot_nb_lshift, "<<"), |
|
|
RBINSLOT("__rlshift__", nb_lshift, slot_nb_lshift, "<<"), |
|
|
RBINSLOT("__rlshift__", nb_lshift, slot_nb_lshift, "<<"), |
|
|
|