Conditional compilation
Kragen Sitaker
kragen at pobox.com
Mon May 13 19:34:35 EDT 2002
Fernando Pérez <fperez528 at yahoo.com> writes:
> James J. Besemer wrote:
> > This is not as fully general as #ifdef but since even declarations are
>
> Why not just use #ifdef? ;)
cpp will choke on strings spanning multiple lines; it knows too much
about C syntax. You could use m4.
My usual way to comment out a block is to highlight it and type
control-C #, which comments out the block. But I use Emacs.
More information about the Python-list
mailing list