Python Tips: Decorators

A very powerful and useful tool in Python

Jason Zhang

--

In object-oriented programming, the decorator pattern is a design pattern that allows behavior to be added to an individual object, dynamically, without affecting the behavior of other objects from the same class.

--

--