Python Programming - Decorators - Discussion
Discussion Forum : Decorators - General Questions (Q.No. 23)
23.
What does the
@functools.cached_property
decorator do when applied to a method inside a class?
Answer: Option
Explanation:
The
@functools.cached_property
decorator caches the result of a method and returns the cached value on subsequent calls.
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