Conditional compilation

Bengt Richter bokr at oz.net
Fri May 10 21:57:49 EDT 2002


On Fri, 10 May 2002 19:51:52 GMT, "Terry Reedy" <tjreedy at udel.edu> wrote:

>
>"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.
>
Need to scan for ''' in the "commented-out" part though.

Regards,
Bengt Richter



More information about the Python-list mailing list