Greg Ewing (using ckea25d02 at
Wed Apr 2 03:07:54 CEST 2003

Chris wrote:
> I wanted to comment out code in a large if statement that was getting an error.

Another way to disable code is

   if 0:

This has the advantage that it will work even if the
code to be commented out itself contains any triple
quoted literals.

Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand

More information about the Python-list mailing list