Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use Self
  • Loading branch information
cdce8p committed Mar 26, 2024
commit aa7d960c17d4481a196ef32b600e21e794bddd61
4 changes: 2 additions & 2 deletions stdlib/functools.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ class _lru_cache_wrapper(Generic[_P, _T]):
if sys.version_info >= (3, 9):
def cache_parameters(self) -> _CacheParameters: ...

def __copy__(self) -> _lru_cache_wrapper[_P, _T]: ...
def __deepcopy__(self, memo: Any, /) -> _lru_cache_wrapper[_P, _T]: ...
def __copy__(self) -> Self: ...
def __deepcopy__(self, memo: Any, /) -> Self: ...

@overload
def lru_cache(maxsize: int | None = 128, typed: bool = False) -> Callable[[Callable[_P, _T]], _lru_cache_wrapper[_P, _T]]: ...
Expand Down