aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/compat/types.py
blob: 4aa3b0efdd38cd486bfcef254839e7dd9d65405c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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)