Martin Blume mblume at
Fri May 12 19:45:17 CEST 2006

"bruno at modulix" schrieb 
> [snip]
> The use case for @decorator is for wrapping functions
> or method *in the module/class itself*. 
That was the question. What's the use of doing it 
like that in the module *itself* (I mean, you change
directly the original function)?

> It's not for module client code (but this of
> course doesn't prevent client code to dynamically 
> add other wrappers...)
How do the clients it? The "oldfashioned"


More information about the Python-list mailing list