(self, other: Operator)
return self._impl_class() == other._impl_class()
Checks if the type of the operator implementations are compatible
Checks if the type of the operator implementations are compatible
Checks if the type of the operator implementations are compatible
def _has_same_impl(self, other: Operator) -> bool:
        """Checks if the type of the operator implementations are compatible"""
        if not isinstance(other, IndividualOp):
            return False
        return self._impl_class() == other._impl_class()
def _has_same_impl ( self , other : Operator ) -> bool : if not isinstance ( other , IndividualOp ) : return False return self . _impl_class ( ) == other . _impl_class ( )