aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/compat/compat_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/compat/compat_utils.py')
-rw-r--r--yt_dlp/compat/compat_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/compat/compat_utils.py b/yt_dlp/compat/compat_utils.py
index d62b7d048..d8b3c45cd 100644
--- a/yt_dlp/compat/compat_utils.py
+++ b/yt_dlp/compat/compat_utils.py
@@ -57,7 +57,7 @@ def passthrough_module(parent, child, allowed_attributes=(..., ), *, callback=la
callback(attr)
return ret
- @functools.lru_cache(maxsize=None)
+ @functools.cache
def from_child(attr):
nonlocal child
if attr not in allowed_attributes: