Practice
Learn
← Quit
0 / 0 correct
Python
Easy
1 of 20
What is a decorator in Python?
A
A type annotation
B
A way to declare private methods
C
A metaclass
D
A callable that takes a function (or class) and returns a replacement, applied with @name