?
What is the purpose of the functools.wraps() function in decorators?
Answer & Solution
Correct Answer:
Option
C
functools.wraps() preserves the original function's metadata when using decorators.
Join the Discussion
Login to post a comment or share your explanation.
Login