mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-15 02:56:47 +01:00
[compat] Ensure submodules are correctly wrapped
This commit is contained in:
parent
9cd080508d
commit
9196cbfe8b
6 changed files with 73 additions and 22 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue