pyobj

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