Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sage is indeed preparsing the entries before sending them to Python. To know what Sage is doing exactly with what you are typing, use the command preparse, with your Sage command passed as a string:

sage: preparse("3")
sage: preparse("3+2")
sage: preparse("x^2")