commenting multiple lines
Frédéric van der Plancke
fvdp at decis.be
Wed Nov 1 15:37:31 EST 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
expressions...)
''' is for commented code.
Now in rare cases you still have to be careful.
FvdP
More information about the Python-list
mailing list