> i.e. the following produces no output:
> sage: 42;
>
> However, in doctests, it *does* produce output, the same line in a
> doctest would give:
> **********************************************************************
> File "/home/jdemeyer/printtest.sage", line 6:
>     sage: 42;
> Expected nothing
> Got:
>     42

I'm not familiar with the doctests, but the python language grammar
says the following:

simple_stmt: small_stmt (';' small_stmt)* [';'] NEWLINE

from: http://docs.python.org/release/2.6.5/reference/grammar.html

I hope that's helpful to you.  A Sage guru must know. ;-)

Don

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to