Re: [sage-devel] "sage:" documentation strings

2011-09-15 Thread Pedro Cruz
Thank you! 2011/9/15 Keshav Kini : > That is an IPython bug which was fixed in 0.11: > https://github.com/ipython/ipython/issues/114 We could perhaps backport it > but it might make more sense to just upgrade IPython soon. > > -Keshav > > > Join us in #sagemath on irc.freenode.net ! > -- T

Re: [sage-devel] "sage:" documentation strings

2011-09-15 Thread Keshav Kini
That is an IPython bug which was fixed in 0.11: https://github.com/ipython/ipython/issues/114 We could perhaps backport it but it might make more sense to just upgrade IPython soon. -Keshav Join us in #sagemath on irc.freenode.net ! -- To post to this group, send an email to sage-devel@g

Re: [sage-devel] "sage:" documentation strings

2011-09-15 Thread Pedro Cruz
I appreciate help on using multiline strings containing % (this is usefull for latex strings). In the following I want that "%" is not converted to _ip.magic. This also affects sage docstrings (using ... for continuation). In pure python docstrings this is not a problem. CASE 1 sage: txt = ""

Re: [sage-devel] "sage:" documentation strings

2011-09-14 Thread Minh Nguyen
Hi Pedro, On Thu, Sep 15, 2011 at 1:05 AM, Pedro Cruz wrote: > I've search here > > http://www.sagemath.org/doc/developer/conventions.html#documentation-strings > > looking for this type of docstring: > > """ >sage: txt=r''' hello >: this goes on ''' > """ > > This does not work using

[sage-devel] "sage:" documentation strings

2011-09-14 Thread Pedro Cruz
I've search here http://www.sagemath.org/doc/developer/conventions.html#documentation-strings looking for this type of docstring: """ sage: txt=r''' hello : this goes on ''' """ This does not work using "sage -t module.py". However python works like: r""" >>> 1+1 2 >>> t