Question 1 of 7
What must a decorator do with the function it receives?
A decorator is invoked with the function object and its returned value becomes the value bound to the function name.
Review this lesson
Check your understanding of function and class decorator transformations, wrappers, metadata preservation, factories, and application order.
Knowledge check
Check your understanding of function and class decorator transformations, wrappers, metadata preservation, factories, and application order.
You can retake this quiz whenever you like.
Question 1 of 7
Question 2 of 7
Question 3 of 7
Question 4 of 7
Question 5 of 7
Question 6 of 7
Question 7 of 7