Skip to main content

pyobj

Standard library class
class pyobj
class pyobj
Fields 1
p Ptr[u8]
Constructors 2
__new__
__new__()
__init__
__init__(self: Self, p: Ptr[u8], steal: bool = False, Self: type)
Methods 5
exc_wrap
exc_wrap(retval: T, T: type)
to_str
to_str(self: Self, errors: str, empty: str = "", Self: type)
to_str(p: cobj, errors: str, empty: str = "")
exc_check
exc_check()
incref
incref(self: Self, Self: type)
incref(ptr: Ptr[u8])
decref
decref(self: Self, Self: type)
decref(ptr: Ptr[u8])
Special methods 68
__raw__
__raw__(self: Self, Self: type)
__del__
__del__(self: Self, Self: type)
__add__
__add__(self: Self, other, Self: type)
__radd__
__radd__(self: Self, other, Self: type)
__sub__
__sub__(self: Self, other, Self: type)
__rsub__
__rsub__(self: Self, other, Self: type)
__mul__
__mul__(self: Self, other, Self: type)
__rmul__
__rmul__(self: Self, other, Self: type)
__matmul__
__matmul__(self: Self, other, Self: type)
__rmatmul__
__rmatmul__(self: Self, other, Self: type)
__floordiv__
__floordiv__(self: Self, other, Self: type)
__rfloordiv__
__rfloordiv__(self: Self, other, Self: type)
__truediv__
__truediv__(self: Self, other, Self: type)
__rtruediv__
__rtruediv__(self: Self, other, Self: type)
__mod__
__mod__(self: Self, other, Self: type)
__rmod__
__rmod__(self: Self, other, Self: type)
__divmod__
__divmod__(self: Self, other, Self: type)
__rdivmod__
__rdivmod__(self: Self, other, Self: type)
__pow__
__pow__(self: Self, other, Self: type)
__rpow__
__rpow__(self: Self, other, Self: type)
__neg__
__neg__(self: Self, Self: type)
__pos__
__pos__(self: Self, Self: type)
__invert__
__invert__(self: Self, Self: type)
__lshift__
__lshift__(self: Self, other, Self: type)
__rlshift__
__rlshift__(self: Self, other, Self: type)
__rshift__
__rshift__(self: Self, other, Self: type)
__rrshift__
__rrshift__(self: Self, other, Self: type)
__and__
__and__(self: Self, other, Self: type)
__rand__
__rand__(self: Self, other, Self: type)
__xor__
__xor__(self: Self, other, Self: type)
__rxor__
__rxor__(self: Self, other, Self: type)
__or__
__or__(self: Self, other, Self: type)
__ror__
__ror__(self: Self, other, Self: type)
__iadd__
__iadd__(self: Self, other, Self: type)
__isub__
__isub__(self: Self, other, Self: type)
__imul__
__imul__(self: Self, other, Self: type)
__imatmul__
__imatmul__(self: Self, other, Self: type)
__ifloordiv__
__ifloordiv__(self: Self, other, Self: type)
__itruediv__
__itruediv__(self: Self, other, Self: type)
__imod__
__imod__(self: Self, other, Self: type)
__ipow__
__ipow__(self: Self, other, Self: type)
__ilshift__
__ilshift__(self: Self, other, Self: type)
__irshift__
__irshift__(self: Self, other, Self: type)
__iand__
__iand__(self: Self, other, Self: type)
__ixor__
__ixor__(self: Self, other, Self: type)
__ior__
__ior__(self: Self, other, Self: type)
__int__
__int__(self: Self, Self: type)
__float__
__float__(self: Self, Self: type)
__index__
__index__(self: Self, Self: type)
__len__
__len__(self: Self, Self: type)
__length_hint__
__length_hint__(self: Self, Self: type)
__getitem__
__getitem__(self: Self, key, Self: type)
__setitem__
__setitem__(self: Self, key, v, Self: type)
__delitem__
__delitem__(self: Self, key, Self: type)
__lt__
__lt__(self: Self, other, Self: type)
__le__
__le__(self: Self, other, Self: type)
__eq__
__eq__(self: Self, other, Self: type)
__ne__
__ne__(self: Self, other, Self: type)
__gt__
__gt__(self: Self, other, Self: type)
__ge__
__ge__(self: Self, other, Self: type)
__to_py__
__to_py__(self: Self, Self: type)
__from_py__
__from_py__(p: cobj)
__str__
__str__(self: Self, Self: type)
__repr__
__repr__(self: Self, Self: type)
__hash__
__hash__(self: Self, Self: type)
__iter__
__iter__(self: Self, Self: type)
__call__
__call__(self: Self, *args, **kwargs, Self: type)
__bool__
__bool__(self: Self, Self: type)