summaryrefslogtreecommitdiff
path: root/qutebrowser/misc/debugcachestats.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/misc/debugcachestats.py')
-rw-r--r--qutebrowser/misc/debugcachestats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/misc/debugcachestats.py b/qutebrowser/misc/debugcachestats.py
index f172f0854..2004ad7ab 100644
--- a/qutebrowser/misc/debugcachestats.py
+++ b/qutebrowser/misc/debugcachestats.py
@@ -30,7 +30,7 @@ from typing import Any, Callable, List, Optional, Tuple, TypeVar
_CACHE_FUNCTIONS: List[Tuple[str, Any]] = []
-_T = TypeVar('_T', bound=Callable)
+_T = TypeVar('_T', bound=Callable[..., Any])
def register(name: Optional[str] = None) -> Callable[[_T], _T]: