comment out more than 1 line at once?

Rob Williscroft rtw at freenet.co.uk
Tue Nov 30 13:40:36 EST 2004


Gustavo Córdova Avila wrote in news:mailman.6944.1101838678.5135.python-
list at python.org in comp.lang.python:

> Actually, it's infinitly [sp?] more defficient
> (contrary of efficient?) than triple-quoted strings
> or line-by-line comments, because those two never
> make it to execution stage, because they're dropped
> by the compiler. :-)
> 

>>> False = True
>>> if False:
	print "It Seems you are right"

	
It Seems you are right
>>> 

:-)

How about: 

if 0: 
  print "unreachable ??"

Rob.
-- 
http://www.victim-prime.dsl.pipex.com/



More information about the Python-list mailing list