mirror of https://github.com/yt-dlp/yt-dlp
[compat] Add `types.NoneType`
parent
81b4712bca
commit
e0c4db04dc
@ -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)
|
Loading…
Reference in New Issue