yt-dlp/yt_dlp/compat/asyncio/tasks.py

9 lines
143 B
Python

# flake8: noqa: F405
from asyncio.tasks import * # noqa: F403
try: # >= 3.7
all_tasks
except NameError:
all_tasks = Task.all_tasks