Python Programming - Functions - Discussion
Discussion Forum : Functions - General Questions (Q.No. 73)
73.
What is the purpose of the
functools.wraps
decorator?
Answer: Option
Explanation:
The
functools.wraps
decorator in Python is used to preserve the original metadata of a decorated function, such as its name and docstring.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers