[Doc-SIG] Unindented blocks in reStructuredText
skip at pobox.com
skip at pobox.com
Mon Oct 22 03:31:53 CEST 2007
Gael> You can use a trick in the Python interpreter:
>>
Gael> if True:
Gael> <paste your code here>
>>
>> Note though that copying and pasting that code will give problems if
>> the pasted code contains any blank lines.
David> How so?
Copy and paste this into the interpreter:
if True:
x = 1
y = 10
The solution is to use # where you really want a blank line:
if True:
x = 1
#
y = 10
Skip
More information about the Doc-SIG
mailing list