Skip to content

Commit

Permalink
[compat] Add types.NoneType
Browse files Browse the repository at this point in the history
  • Loading branch information
pukkandan committed Jul 22, 2023
1 parent 81b4712 commit e0c4db0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions yt_dlp/compat/types.py
@@ -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)

0 comments on commit e0c4db0

Please sign in to comment.