diff --git a/stubs/cachetools/cachetools/ttl.pyi b/stubs/cachetools/cachetools/ttl.pyi index db7618453..539ed69e2 100644 --- a/stubs/cachetools/cachetools/ttl.pyi +++ b/stubs/cachetools/cachetools/ttl.pyi @@ -20,4 +20,4 @@ class TTLCache(Cache[_KT, _VT]): def timer(self) -> Callable[[], float]: ... @property def ttl(self) -> float: ... - def expire(self, time: Optional[Callable[[], float]] = ...) -> None: ... + def expire(self, time: Optional[float] = ...) -> None: ...