Decorators in Python

The concept of a decorator is a little funny...



so the decorator takes the function and wraps the function call with your new code, so you need to make sure you pass on all the arguments that it is possible for the original function to take.

more on this later...

comments powered by Disqus