mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-19 18:25:03 +00:00
14 lines
327 B
Python
14 lines
327 B
Python
# flake8: noqa: F405
|
|
from types import * # noqa: F403
|
|
|
|
from .compat_utils import passthrough_module
|
|
|
|
passthrough_module(__name__, 'types')
|
|
del passthrough_module
|
|
|
|
try:
|
|
# NB: pypy has builtin NoneType, so checking NameError won't work
|
|
from types import NoneType # >= 3.10
|
|
except ImportError:
|
|
NoneType = type(None)
|