goto statement
Maxim Kasimov
kasimov at i.com.ua
Wed Apr 20 10:00:55 EDT 2005
Peter Hansen wrote:
> Maxim Kasimov wrote:
>
>> Torsten Bronger wrote:
>>
>>> Hallöchen!
>>>
>>> Maxim Kasimov <kasimov at i.com.ua> writes:
>>>
>>>>
>>>> WOW, just greate! ... but i'd like to relax at some more
>>>> interesting way than to comment each of rows
>>
>>
>> but what if i just can't to do this becouse i'm working thrue ssh, and
>> have to use only installed editors (such as vi)
>
>
> Surely you use more than one-character indents? If
> that's so, you can just insert the "if 0:" using, say,
> two characters indentation instead of the usual four.
> Then the following four-character-indented code is
> removed.
>
> Alternatively, use ''' and ''' surrounding the code
> block and it will be ignored.
>
uuuuf..., i don't requesting that "goto" was available in next versions of python,
but i'm saying if it will be so, it will be easy and quickly _debug_ some skripts,
_not only_ for commenting
--
Best regards,
Maxim Kasimov
mailto: kasimov at i.com.ua
More information about the Python-list
mailing list