ExamVeda
Login
Home
Decorators in Depth
?

What is the purpose of the @lru_cache decorator in Python?

Answer & Solution
Correct Answer: Option C
The @lru_cache decorator is used to cache function results with a limited size using the Least Recently Used strategy.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.