Contribute Media
A thank you to everyone who makes this possible: Read More

What is a decorator?

Description

A decorator is a callable (usually a function though sometimes a class) that accepts either a function or a class and returns a new function or class that wraps around the original one.

Details

Improve this page