@decorators

daishi google at daishi.fastmail.fm
Sat Aug 7 08:46:16 CEST 2004


"Terry Reedy" <tjreedy at udel.edu> wrote in message news:<mailman.1315.1091827685.5135.python-list at python.org>...
> And the same examples apply:
> 
> if like(atdeco): print 'hooray'
> else:                print 'boo'
> 
> Terry J. Reedy

I apologize if I've phrased things poorly/imprecisely,
but in large part your example exemplifies the point that
I was trying make in my previous message: decorators seem
like they belong in or are themselves compound statements.
The current proposed formatting seems to me like:

else print 'boo'
if like(atdeco): print 'hooray'



More information about the Python-list mailing list