def get_ring(self):
        """Returns a ring associated with ``self``. """
        raise DomainError('there is no ring associated with %s' % self)
dataset/ETHPy150Open sympy/sympy/sympy/polys/domains/domain.py/Domain.get_ring/original