[compat] Add `types.NoneType`

pull/7629/head
pukkandan 1 year ago
parent 81b4712bca
commit e0c4db04dc
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -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…
Cancel
Save