On 2010-02-25, Paul Rudin <paul.nos...@rudin.co.uk> wrote:
> kj <no.em...@please.post> writes:
>
>> I think I remember, early in my learning of Python, coming across
>> the commandment "THOU SHALT NOT USE TRIPLE-QUOTES TO COMMENT-OUT
>> LINES OF CODE", or something to that effect.  But now I can't find
>> it!
>
> No idea, but it would be nice to have some multiline comment syntax
> (other than # at the beginning of each line). Particularly one that can
> be nested.

if 0:

Seriously, that's what I generally do: mark the block of code,
indent it 1 level, add an if 0: at the top.

-- 
Grant Edwards                   grante             Yow! What a COINCIDENCE!
                                  at               I'm an authorized "SNOOTS
                               visi.com            OF THE STARS" dealer!!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to