Slight irritation with try/finally indentation

Aahz aahz at pythoncraft.com
Sun May 5 02:34:50 EDT 2002


In article <3CD4A4E7.DD73F2C0 at engcorp.com>,
Peter Hansen  <peter at engcorp.com> wrote:
>Ken Seehof wrote:
>> 
>> Hmm.  This thread reminds me of the brilliant solution to the
>> very serious :-) lack of begin and end block markers for python:
>> 
>> if x:
>> #begin
>>     for j in range(4): #{
>>         f(j);
>>     #}
>> #endif
>
>Sorry, Ken, but you messed up your indentation:
>
>if x:
>    #begin
>    for j in range(4): 
>        #{
>        f(j);
>        #}
>    #endif

Thank you both for reminding me how much I love Python.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"I used to have a .sig but I found it impossible to please everyone..."  --SFJ



More information about the Python-list mailing list