In article <[EMAIL PROTECTED]>, Paul McNett <[EMAIL PROTECTED]> wrote: . . . >IMO this is a missing feature in Python. However, if the block of code >you are wanting to comment out doesn't happen to contain any >triple-quotes, you can surround the code with those. For example: > >def myFunc(arg): > return arg + 2 > >""" >def myFunc(arg): > return arg + 1 >""" > > >>> print myFunc(2) >4 . . . ... and note that, even if the block *does* contain triple-quotes of one flavor, you can use the other:
'''This is syntactic data: """. ''' -- http://mail.python.org/mailman/listinfo/python-list