Hi All,
I'm trying to use a class as a decorator for another class method, but
it's giving me a lot of grief. Basically, my problem is with the
example below:
class decorator:
... def __init__(self, function):
... self.function = function
...
... def __call__(self, *args,
On Oct 29, 7:46 pm, Casey Rodarmor [EMAIL PROTECTED] wrote:
Hi All,
I'm trying to use a class as a decorator for another class method, but
it's giving me a lot of grief. Basically, my problem is with the
example below:
class decorator:
... def __init__(self, function):
...