class_docstr: A class for representing multivariate polynomial rings. 
docstr: Returns `True` if two domains are equivalent. 
docstr_tok: ["Returns","`","True","`","if","two","domains","are","equivalent","."]
code: def __eq__(self, other):
      """Returns `True` if two domains are equivalent."""
      return isinstance(other, PolynomialRing) and (
          self.dtype.ring,
          self.domain,
          self.symbols,
      ) == (other.dtype.ring, other.domain, other.symbols)
  
imports: from sympy.polys.domains.ring import Ring
  from sympy.polys.domains.compositedomain import CompositeDomain
  from sympy.polys.polyerrors import CoercionFailed, GeneratorsError
  from sympy.utilities import public
label_desc: Use image node_id 8 for calling the PolynomialRing obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown