Hi Pedro, On Thu, Sep 15, 2011 at 1:05 AM, Pedro Cruz <pedrocruzave...@gmail.com> 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 -t module.py".
Use this ... Not like this: ....: See the following document for lots of examples on how to do multi-line doctests: http://www.sagemath.org/doc/thematic_tutorials/functional_programming.html The Sage reference manual contains much more examples on multi-line doctests: http://www.sagemath.org/doc/reference/index.html -- 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