decorators - more than just syntactic sugar

BJörn Lindqvist bjourne at gmail.com
Tue Aug 14 04:22:51 EDT 2007


On 8/13/07, Bjoern Schliessmann
<usenet-mail-0306.20.chr0n0ss at spamgourmet.com> wrote:
> BJörn Lindqvist wrote:
>
> > unpedagogically not separated from ordinary functions.
>
> Decorators _are_ ordinary functions. Remember the "syntactic sugar"
> in this thread?

Remember also "that syntactic sugar is important." Case in point, the
OP did not think of looking at the built-in functions page.

-- 
mvh Björn



More information about the Python-list mailing list