mirror of https://github.com/yt-dlp/yt-dlp
[compat/asyncio] Use `asyncio.all_tasks`
parent
9196cbfe8b
commit
059bc4db19
@ -1,13 +0,0 @@
|
||||
# flake8: noqa: F405
|
||||
|
||||
from asyncio.tasks import * # noqa: F403
|
||||
|
||||
from ..compat_utils import passthrough_module
|
||||
|
||||
passthrough_module(__name__, 'asyncio.tasks')
|
||||
del passthrough_module
|
||||
|
||||
try: # >= 3.7
|
||||
all_tasks
|
||||
except NameError:
|
||||
all_tasks = Task.all_tasks
|
Loading…
Reference in New Issue