Vladimir

31%
Flag icon
All the arguments taken by the decorated function must be hashable, because the underlying lru_cache uses a dict to store the results, and the keys are made from the positional and keyword arguments used in the calls.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview