Decorators
Andrew Durdin
adurdin at gmail.com
Tue Aug 10 03:05:55 EDT 2004
More information about the Python-list mailing list
Tue Aug 10 03:05:55 EDT 2004
- Previous message (by thread): Decorators
- Next message (by thread): Decorators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 09 Aug 2004 20:29:59 -0400, Colin J. Williams <cjw at sympatico.ca> wrote: > > There is also the question of whether 'decorator', a term which is used > in everyday langage as indicating adornment, is the best choice for a > transformation. def deco(f): print f.__name__, "is now pretty!" return f @deco def ugly_function(): pass
- Previous message (by thread): Decorators
- Next message (by thread): Decorators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list