Kindly be informed that the 2.x python line only gets bug fixes, and new specialties are developed for python 3.x only.
Simple usage:
from repoze.lru import lru_cache
@lru_cache(maxsize=500)
def fib(n):
if n < 2:
return n
return fib(n-1) + fib(n-2)
Interested in learning Python? Enroll in our Python Course now.