What's the word on using """ to comment-out?
invalid at invalid.invalid
Thu Feb 25 16:07:12 CET 2010
On 2010-02-25, Paul Rudin <paul.nospam at rudin.co.uk> wrote:
> kj <no.email at 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
> 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.
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!!
More information about the Python-list