Doctest Blocks
Raw reStructuredText:
Doctest blocks are interactive
Python sessions. They begin with
"``>>>``" and end with a blank line.
>>> print "This is a doctest block."
This is a doctest block.
Typical result:
Doctest blocks are interactive
Python sessions. They begin with
“>>>” and end with a blank line.
>>> print "This is a doctest block."
This is a doctest block.