1 | initial version |
Another possibility is to use Python's del to delete an object:
sage: del x
sage: x
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
/home/vbraun/opt/sage-4.7.1.alpha2/local/include/singular/<ipython console> in <module>()
NameError: name 'x' is not defined
sage: x = var('x')
sage: x
x