goto statement
Cameron Laird
claird at lairds.us
Wed Apr 20 14:08:03 EDT 2005
In article <d45gap$elj$1 at news.tsystems.kiev.ua>,
Maxim Kasimov <kasimov at i.com.ua> wrote:
.
.
.
>>> if you need to comment a couple of code (and then uncomment ), what
>>> are you doing then?
>>
>>
>> Use comments?
>>
>
>WOW, just greate! ... but i'd like to relax at some more interesting way
>than to comment each of rows
.
.
.
Mr. Kasimov, here's another idiom you might want to consider:
# Notice that we can make a code fragment into a string,
# which is evaluated, then discarded.
a = b
c = d
"""e = f
g = h
i = j"""
k = l
More information about the Python-list
mailing list