@public
def ring(symbols, domain, order=lex):
    _ring = PolyRing(symbols, domain, order)
    return (_ring,) + _ring.gens
Construct a polynomial ring returning ``(ring, x_1, ..., x_n)``.
dataset/ETHPy150Open sympy/sympy/sympy/polys/rings.py/ring