#NEWLINE# @ public #NEWLINE# def vring( symbols , domain , order = lex ) : #NEWLINE# #INDENT# 'Construct a polynomial ring and inject ``x_1, ..., x_n`` into the global namespace.\n\n    Parameters\n    ----------\n    symbols : str, Symbol/Expr or sequence of str, Symbol/Expr (non-empty)\n    domain : :class:`Domain` or coercible\n    order : :class:`Order` or coercible, optional, defaults to ``lex``\n\n    Examples\n    ========\n\n    >>> from sympy.polys.rings import vring\n    >>> from sympy.polys.domains import ZZ\n    >>> from sympy.polys.orderings import lex\n\n    >>> vring("x,y,z", ZZ, lex)\n    Polynomial ring in x, y, z over ZZ with lex order\n    >>> x + y + z\n    x + y + z\n    >>> type(_)\n    <class \'sympy.polys.rings.PolyElement\'>\n\n    ' #NEWLINE# _ring = PolyRing ( symbols , domain , order ) #NEWLINE# pollute ( [ sym . name for sym in _ring . symbols ] , _ring . gens ) #NEWLINE# return _ring