Doctext Blocks

Created on Oct. 26, 2012, 12:50 p.m. by Hevok & updated by Hevok on May 2, 2013, 5:10 p.m.

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.
doc_text_96863.jpg

Tags: rest, coding, documentation, python
Categories: Tutorial
Parent: reStructuredText

Update entry (Admin) | See changes

Comment on This Data Unit