Multi-Line Comment

Chad Netzer cnetzer at sonic.net
Wed Aug 13 02:21:16 EDT 2003


On Tue, 2003-08-12 at 23:06, Sean 'Shaleh' Perry wrote:
> On Tuesday 12 August 2003 22:07, Christopher Blunck wrote:
> > >
> > > Nope, no multi-line comment.

> > That always stumped me as well.  Any idea what the justification for this
> > was, Skip?

> none of the other shell/script languages have one either.  I rarely miss it.

Multiline comments can be easily made with triplle quoted strings, or
with Emacs (it folds long single line comments into multiple line
comments).  And for commenting out blocks of code, my good pal "if 0:"
works great (along with block indent/dedent with a decent editor)

-- 
Chad Netzer






More information about the Python-list mailing list