pygritia.binary module¶
Provides BinaryMixin
mixin class
It provides binary operator support to the Lazy
class
-
class
pygritia.binary.
BinaryMixin
(action: pygritia.core.LazyAction, origin: Optional[LazyMixin] = None)[source]¶ Bases:
pygritia.core.LazyMixin
Binary operator support
It contains compare operators(
__lt__
,__le__
,__eq__
,__ne__
,__gt__
,_ge__
), numeric operators(__add__
,__sub__
,__mul__
,__matmul__
,__div__
,__truediv__
,__floordiv__
,__mod__
,__divmod__
,__pow__
) and bitwise operators(__lshift__
,__rshift__
,__and__
,__or__
,__xor__
)