Decorator

A decorator is just a function that takes a function as argument, and returns a function as a result. Since it returns a function, the returned value can itself be invoked.


Tags: python

Edit this page
Wiki-logo