From 1c47458ac6abc8c063aacff1688faa8d1f82d1b9 Mon Sep 17 00:00:00 2001 From: Ethan Smith Date: Mon, 5 Mar 2018 18:52:46 -0800 Subject: [PATCH] Add cache_clear to lru_cache (#1941) --- stdlib/3/functools.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stdlib/3/functools.pyi b/stdlib/3/functools.pyi index 7f048dce2..60a186a72 100644 --- a/stdlib/3/functools.pyi +++ b/stdlib/3/functools.pyi @@ -24,6 +24,7 @@ class _lru_cache_wrapper(Generic[_T]): __wrapped__ = ... # type: Callable[..., _T] def __call__(self, *args: Any, **kwargs: Any) -> _T: ... def cache_info(self) -> _CacheInfo: ... + def cache_clear(self) -> None: ... class lru_cache(): def __init__(self, maxsize: Optional[int] = ..., typed: bool = ...) -> None: ...