What's the word on using """ to comment-out?

Paul Rudin paul.nospam at rudin.co.uk
Thu Feb 25 08:56:05 CET 2010


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



More information about the Python-list mailing list