How to decorate all functions of a class without typing it over and over for each method?
Lets say my class has many methods, and I want to apply my decorator on each one of them, later when I add new methods, I want the same decorator to be applied, but I dont want to write @mydecorator above the method declaration all the time? If I look into __call__ is that the … Read more