repo.or.cz
/
yt-dlp.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[cleanup] Misc (#10807)
[yt-dlp.git]
/
yt_dlp
/
compat
/
functools.py
blob
96689575f6e2c88c4b6fdd683d4760457cb0ee3a
1
# flake8: noqa: F405
2
from
functools
import
*
# noqa: F403
3
4
from
.
compat_utils
import
passthrough_module
5
6
passthrough_module
(
__name__
,
'functools'
)
7
del
passthrough_module
8
9
try
:
10
_
=
cache
# >= 3.9
11
except
NameError
:
12
cache
=
lru_cache
(
maxsize
=
None
)