commenting multiple lines

Frédéric van der Plancke fvdp at
Wed Nov 1 21:37:31 CET 2000

Olivier Dagenais wrote:

> """
> Add triple-quotes before and after your block, just like this "block"...
> That is assuming, of course, that you don't have any triple quotes inside
> that block...
> """

what's the problem with triple quotes inside the block ?

My code follows this convention:
   """ is for normal multiline strings (and around some regexp
   ''' is for commented code.
Now in rare cases you still have to be careful.


More information about the Python-list mailing list