On May 11, 10:29 am, kcrisman <kcris...@gmail.com> wrote: >> sage: _(y)=y > I thought underscore only worked to give the previous command, but I > guess the preparser makes this work right.
No, as far as I can tell, _ is an ordinary variable for python. It's just that the toplevel assigns the latest return value to it, if that value is not None. I don't think you could make the preparser do this for you if Python, IPython or the notebook didn't. I didn't mean it as a serious suggestion. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org