(self, other)
return isinstance(other, QuotientRing) and \
            self.ring == other.ring and self.base_ideal == other.base_ideal
Returns `True` if two domains are equivalent.
Returns `True` if two domains are equivalent.
Returns True if two domains are equivalent .
def __eq__(self, other):
        """Returns `True` if two domains are equivalent. """
        return isinstance(other, QuotientRing) and \
            self.ring == other.ring and self.base_ideal == other.base_ideal
def __eq__ ( self , other ) : return isinstance ( other , QuotientRing ) and self . ring == other . ring and self . base_ideal == other . base_ideal