0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

[compat] Add types.NoneType

This commit is contained in:
pukkandan 2023-07-22 08:56:45 +05:30
parent 81b4712bca
commit e0c4db04dc
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

12
yt_dlp/compat/types.py Normal file
View file

@ -0,0 +1,12 @@
# flake8: noqa: F405
from types import * # noqa: F403
from .compat_utils import passthrough_module
passthrough_module(__name__, 'types')
del passthrough_module
try:
NoneType # >= 3.10
except NameError:
NoneType = type(None)