diff options
-rw-r--r-- | qutebrowser/misc/debugcachestats.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/misc/debugcachestats.py b/qutebrowser/misc/debugcachestats.py index 7deb8bdcd..b12995c5c 100644 --- a/qutebrowser/misc/debugcachestats.py +++ b/qutebrowser/misc/debugcachestats.py @@ -10,13 +10,13 @@ dependencies as possible to avoid cyclic dependencies. import weakref from typing import Any, Optional, TypeVar -from collections.abc import Mapping, Callable +from collections.abc import MutableMapping, Callable from qutebrowser.utils import log # The callable should be a lru_cache wrapped function -_CACHE_FUNCTIONS: Mapping[str, Any] = weakref.WeakValueDictionary() +_CACHE_FUNCTIONS: MutableMapping[str, Any] = weakref.WeakValueDictionary() _T = TypeVar('_T', bound=Callable[..., Any]) |