freebsd-ports/devel/py-darts.util.lru/pkg-descr
Dmitry Marakasov c637402081 Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.

Approved by:	portmgr blanket, mat
2018-04-25 16:42:37 +00:00

8 lines
269 B
Text

A LRUDict is basically a simple dictionary, which has a defined
maximum capacity, that may be supplied at construction time, or
modified at run-time via the capacity property:
>>> cache = LRUDict(1)
>>> cache.capacity
1
WWW: https://pypi.org/project/darts.util.lru/