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 = """One
....: Two
....: %Three
....: Four
....: """
sage: txt
'One\nTwo\n_ip.magic("Three ")\nFour\n'

CASE 2

sage: txt = r"""One
....: Two
....: %Three
....: Four
....: """
sage: txt
'One\nTwo\n_ip.magic("Three ")\nFour\n'

Pedro

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