Conditional compilation

Terry Reedy tjreedy at udel.edu
Fri May 10 15:51:52 EDT 2002


"jb" <jblazi at hotmail.com> wrote in message
news:3cdbb641_2 at news3.newsgroups.com...
> This question was probably asked many times.
>
> It does not seem to be possible to "comment out" blocks of code,
which would
> be a very nice feature for testing purposes. (Maybe I can do it with
"""
> but that looks a bit cumbersome.)

Typing \n''' twice is hardly any more cumbersome than typing \n/*,
\n*/.
The ease of repeats compesates for the two extra keystrokes.

Terry J. Reedy






More information about the Python-list mailing list