[Doc-SIG] Unindented blocks in reStructuredText
g.brandl at gmx.net
Sun Oct 21 16:12:47 CEST 2007
David Goodger schrieb:
> [skip at pobox.com]
>> 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.
> How so?
I think he's referring to the interactive interpreter, where a blank line
will terminate previous indented blocks.
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.
More information about the Doc-SIG