[Doc-SIG] Unindented blocks in reStructuredText

Gael Varoquaux gael.varoquaux at normalesup.org
Sun Oct 21 11:32:26 CEST 2007

On Sun, Oct 21, 2007 at 11:30:17AM +0200, Hrvoje Nikšić wrote:
> If I indent the Python block by any amount of spaces, everything works
> -- but then I can no longer paste the example into Python. 

You can use a trick in the Python interpreter:

if True:
<paste your code here>



More information about the Doc-SIG mailing list