ExamVeda
Login
Home
Decorators in Depth
?

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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.