TypeSlots.py | 585 unaryfunc = Signature("T", "O") # typedef PyObject * (*unaryfunc)(PyObject *); variable 668 MethodSlot(unaryfunc, "nb_negative", "__neg__"), 669 MethodSlot(unaryfunc, "nb_positive", "__pos__"), 670 MethodSlot(unaryfunc, "nb_absolute", "__abs__"), 672 MethodSlot(unaryfunc, "nb_invert", "__invert__"), 679 MethodSlot(unaryfunc, "nb_int", "__int__", fallback="__long__"), 680 MethodSlot(unaryfunc, "nb_long", "__long__", fallback="__int__", py3 = "<RESERVED>"), 681 MethodSlot(unaryfunc, "nb_float", "__float__"), 682 MethodSlot(unaryfunc, "nb_oct", "__oct__", py3 = False) [all...] |