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
   >>> txt = r''' um
   ... ola  dois '''
   >>> print txt
     um
    ola  dois 
 
"""

How can I test multiline instructions using "sage:" ?

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