How to decorate classes in Python
Learn a special use case of Python decorators
3 min readNov 15, 2021
We introduced how to decorate functions in Python in a previous post. If you haven’t checked that post yet, it’s highly recommended to do so because the fundamentals of decorators in Python are introduced in detail in that post. In this post, we will focus on how to decorate classes in Python.