decorator
- Python decorator
- A decorator in Python is a function that accepts another function as an argument.
- This means that when you call a decorated function, you will get a function that may be a little different that may have additional features compared with the base definition.
- Examples