]> jfr.im git - yt-dlp.git/blame - yt_dlp/compat/types.py
Release 2024.05.26
[yt-dlp.git] / yt_dlp / compat / types.py
CommitLineData
e0c4db04 1# flake8: noqa: F405
2from types import * # noqa: F403
3
4from .compat_utils import passthrough_module
5
6passthrough_module(__name__, 'types')
7del passthrough_module
8
9try:
25b6e8f9 10 # NB: pypy has builtin NoneType, so checking NameError won't work
11 from types import NoneType # >= 3.10
12except ImportError:
e0c4db04 13 NoneType = type(None)