Hi, On Fri, Sep 4, 2009 at 3:48 PM, William Stein<wst...@gmail.com> wrote: > Feature request -- can you make it so the *docstring* for the variable > can be specified? I will have to do this soon anyways if you don't, > since it is needed for the units package. > E.g., > > meter = var('meter', docstring="A meter is...", latex_name="m")
Trying to simply overwrite __doc__ method didn't seem to work. So, I guess, I will leave that for you. > I don't know. I'm curious -- what does Maxima do? Note that if > Maxima can't do this, i.e. ,have one variable name with two domains, > it will make using Maxima for anything more complicated, With the current interface, maxima variables are constructed using "repr(x)". So both will be treated as the same. Cheers, Golam --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---