mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-11 00:22:47 +01:00
[compat] Ensure submodules are correctly wrapped
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user