parent
2f97cc615b
commit
0b9c08b47b
3 changed files with 19 additions and 3 deletions
12
yt_dlp/compat/functools.py
Normal file
12
yt_dlp/compat/functools.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# flake8: noqa: F405
|
||||
from functools import * # noqa: F403
|
||||
|
||||
from .compat_utils import passthrough_module
|
||||
|
||||
passthrough_module(__name__, 'functools')
|
||||
del passthrough_module
|
||||
|
||||
try:
|
||||
cache # >= 3.9
|
||||
except NameError:
|
||||
cache = lru_cache(maxsize=None)
|
||||
Loading…
Add table
Add a link
Reference in a new issue