@public
def xring(symbols, domain, order=lex):
 _ring = PolyRing(symbols, domain, order)
 return (_ring, _ring.gens)

@ public def xring ( symbols , domain , order = lex ) : _ring = PolyRing ( symbols , domain , order ) return ( _ring , _ring . gens )
construct a polynomial ring returning (ring .