# Revision history [back]

This is probably an ugly hack, but you after reading the source code of such quotient rings, you can change the hidden _names attribute of your object as follows:

sage: R = E.coordinate_ring()
sage: R._names = ('X','Y','Z')


Then you can see:

sage: R.gens()
(X, Y, Z)


And you can let the Sage (=Python) variables X, Y, Z point to those indeterminates as follows:

sage: R.inject_variables() Defining X, Y, Z sage: X+Y^2 Y^2 + X

This is probably an ugly hack, but you after reading the source code of such quotient rings, you can change the hidden _names attribute of your object as follows:

sage: R = E.coordinate_ring()
sage: R._names = ('X','Y','Z')


Then you can see:

sage: R.gens()
(X, Y, Z)


And you can let the Sage (=Python) variables X, Y, Z point to those indeterminates as follows:

sage: R.inject_variables() R.inject_variables()
Defining X,
X, Y, Z Z
sage: X+Y^2 X+Y^2
Y^2 + XX