David Goodger schrieb:
> [EMAIL PROTECTED]
>>     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.

Georg

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

_______________________________________________
Doc-SIG maillist  -  Doc-SIG@python.org
http://mail.python.org/mailman/listinfo/doc-sig

Reply via email to