class decorator(object): def __init__(self, method): self.method = method def __call__(self, *args, **kargs): return self.method(*args, **kargs)