Decorators aren't always functions PREMIUM

Topic Series: Decorators

Trey Hunner smiling in a t-shirt against a yellow wall
Trey Hunner
6 minute read Works on Python 3.7—3.10
Python Morsels
Watch as video

Decorators aren't always implemented using functions.

Decorators are usually implemented with functions

It's helpful to think of a [decorator](

Write more Pythonic code

Need to fill-in gaps in your Python skills? I send regular emails designed to do just that.