aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/compat/compat_utils.py
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2024-10-23 06:33:50 +0000
committerGitHub <noreply@github.com>2024-10-23 06:33:50 +0000
commitd784464399b600ba9516bbcec6286f11d68974dd (patch)
tree4058e9e4d72f6ac1d5b992f6a2fb725ae29183c8 /yt_dlp/compat/compat_utils.py
parentdd2e24446954246a2ec4d4a7e95531f52a14b351 (diff)
Remove Python 3.8 support (#11321)
Closes #10086 Authored by: bashonly
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: