Thanks! tM
On 22 Mrz., 14:45, Mike Hansen <mhan...@gmail.com> wrote: > On Mar 22, 5:25 am, tM <totesmons...@yahoo.de> wrote: > > > I have no idea where the problem is: > > The problem comes from the difference between str and repr: > > sage: f = x^2 + 3 > sage: repr(f) > 'x^2 + 3' > sage: str(f) > '\n 2\r > \n x + 3' > > Notice how the str is the pretty printed version. The newline and all > the the spaces are what gives the indentation error. I've put a > minimal fix up athttp://www.sagenb.org/home/pub/392/as well as a (in > my opinion) much better fix which avoids the use of strings at all. > > --Mike --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---