Examveda

In Python, what is the role of the @functools.lru_cache decorator?

A. Cache function results

B. Decorate GUI elements

C. Convert functions to methods

D. Create wrappers for functions

Answer: Option A


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators