We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c79275d commit 31c195aCopy full SHA for 31c195a
1 file changed
stdlib/functools.pyi
@@ -63,6 +63,10 @@ class _lru_cache_wrapper(Generic[_T_co]):
63
def __copy__(self) -> _lru_cache_wrapper[_T_co]: ...
64
def __deepcopy__(self, memo: Any, /) -> _lru_cache_wrapper[_T_co]: ...
65
66
+ # as with ``Callable``, we'll assume that these attributes exist
67
+ __name__: str
68
+ __qualname__: str
69
+
70
@overload
71
def lru_cache(maxsize: int | None = 128, typed: bool = False) -> Callable[[Callable[..., _T]], _lru_cache_wrapper[_T]]: ...
72
0 commit comments