First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 10 years ago

SL gravatar image

Sage does some preparsing on what you type. You can see what happens with the command preparse

 sage: preparse('ratpoly.<t> = PolynomialRing(QQ)')
 "ratpoly = PolynomialRing(QQ, names=('t',)); (t,) = ratpoly._first_ngens(1)"