Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.9 KB

README.rst

File metadata and controls

44 lines (29 loc) · 1.9 KB

tests Ruff https://readthedocs.org/projects/backportsfunctools_lru_cache/badge/?version=latest https://img.shields.io/badge/skeleton-2024-informational https://tidelift.com/badges/package/pypi/backports.functools_lru_cache

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

For Enterprise

Available as part of the Tidelift Subscription.

This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.

Learn more.