Applying a decorator to a module

lkcl luke.leighton at googlemail.com
Thu Nov 27 20:54:54 CET 2008


On Nov 27, 7:43 pm, s... at pobox.com wrote:
>     lkcl> Very simple question: how do you apply a decorator to an entire
>     lkcl> module?
>
> Function-by-function or class-by-class.  There is no decorator support for
> modules.

awWww!  i'm going to quietly throw my toys out of my pram.

... but seriously - doesn't that strike people as... a slightly odd
omission?

l.



More information about the Python-list mailing list