mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-22 06:13:25 -07:00
Update backports-functools-lru-cache==1.6.6
This commit is contained in:
parent
c27b4052a5
commit
d17d4a4440
2 changed files with 1 additions and 6 deletions
|
@ -1,5 +1 @@
|
|||
# A Python "namespace package" http://www.python.org/dev/peps/pep-0382/
|
||||
# This always goes inside of a namespace package's __init__.py
|
||||
from pkgutil import extend_path
|
||||
|
||||
__path__ = extend_path(__path__, __name__) # type: ignore
|
||||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) # type: ignore
|
||||
|
|
|
@ -89,7 +89,6 @@ def lru_cache(maxsize=100, typed=False): # noqa: C901
|
|||
# to allow the implementation to change (including a possible C version).
|
||||
|
||||
def decorating_function(user_function):
|
||||
|
||||
cache = dict()
|
||||
stats = [0, 0] # make statistics updateable non-locally
|
||||
HITS, MISSES = 0, 1 # names for the stats fields
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue