Hi folks,

At ticket #10458 [1] is a patch that allows the doctesting framework
to deal with doctest lines that begin with "....:". Such a line is
exactly what you would get if you work with IPython. By default
IPython prints out "....:" for line continuation, as compared to the
Python shell which prints "...". I suggested on the ticket that we
need to configure or patch IPython to get it to use "...", rather than
change the doctesting framework code to allow it to parse lines with
"....:". With the said patch at #10458, you could now include doctests
such as the following in a Sage module:

sage: statement-more-statement
....: more-statements

Any thoughts on this issue?

[1] http://trac.sagemath.org/sage_trac/ticket/10458

-- 
Regards
Minh Van Nguyen

-- 
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

Reply via email to