def __rsub__(self, other): """Override other - operator.""" from arxpy.bitvector import operation return operation.BvSub(other, self)
def __sub__(self, other): """Overriding for - operator.""" from arxpy.bitvector import operation return operation.BvSub(self, other)