romeric / backports.functools_lru_cache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

image

image

image

License is indicated in the project metadata (typically one or more of the Trove classifiers). For more details, see this explanation.

Backport of functools.lru_cache from Python 3.3 as published at ActiveState.

Usage

Consider using this technique for importing the 'lru_cache' function:

try:
    from functools import lru_cache
except ImportError:
    from backports.functools_lru_cache import lru_cache

About


Languages

Language:Python 100.0%