mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-10 03:31:27 +08:00
functools: Add cache_parameters method to _lru_cache_wrapper (#10076)
The docs says that `cache_parameters()` function was added in 3.9: https://docs.python.org/3/library/functools.html#functools.lru_cache
Source: af53046995/Lib/functools.py (L512)
But, `typeshed` does not have it.
This commit is contained in:
@@ -17,6 +17,7 @@ contextlib.AbstractAsyncContextManager.__class_getitem__
|
||||
contextlib.AbstractContextManager.__class_getitem__
|
||||
fractions.Fraction.__new__ # overload is too complicated for stubtest to resolve
|
||||
functools.cached_property.__set__ # Stub is a white lie; see comments in the stub
|
||||
functools._lru_cache_wrapper.cache_parameters # Cannot be detected statically
|
||||
gettext.install
|
||||
gettext.translation
|
||||
hmac.new # Stub is a white lie; see comments in the stub
|
||||
|
||||
@@ -21,6 +21,7 @@ enum.auto.value
|
||||
fractions.Fraction.__new__ # overload is too complicated for stubtest to resolve
|
||||
ftplib.FTP.trust_server_pasv_ipv4_address
|
||||
functools.cached_property.__set__ # Stub is a white lie; see comments in the stub
|
||||
functools._lru_cache_wrapper.cache_parameters # Cannot be detected statically
|
||||
ipaddress.IPv4Interface.hostmask
|
||||
ipaddress.IPv6Interface.hostmask
|
||||
ipaddress._BaseNetwork.broadcast_address
|
||||
|
||||
@@ -37,6 +37,7 @@ contextlib.AbstractContextManager.__class_getitem__
|
||||
distutils.command.bdist_wininst # see #6523
|
||||
fractions.Fraction.__new__ # overload is too complicated for stubtest to resolve
|
||||
functools.cached_property.__set__ # Stub is a white lie; see comments in the stub
|
||||
functools._lru_cache_wrapper.cache_parameters # Cannot be detected statically
|
||||
gettext.install
|
||||
gettext.translation
|
||||
hmac.new # Stub is a white lie; see comments in the stub
|
||||
|
||||
Reference in New Issue
Block a user