1 from _typeshed import IdentityFunction
2 from typing import Callable, Sequence, TypeVar
6 def fifo_cache(maxsize: float = ..., typed: bool = ...) -> IdentityFunction: ...
7 def lfu_cache(maxsize: float = ..., typed: bool = ...) -> IdentityFunction: ...
8 def lru_cache(maxsize: float = ..., typed: bool = ...) -> IdentityFunction: ...
9 def mru_cache(maxsize: float = ..., typed: bool = ...) -> IdentityFunction: ...
10 def rr_cache(maxsize: float = ..., choice: Callable[[Sequence[_T]], _T] | None = ..., typed: bool = ...) -> IdentityFunction: ...
12 maxsize: float = ..., ttl: float = ..., timer: Callable[[], float] = ..., typed: bool = ...
13 ) -> IdentityFunction: ...