pull/7604/head
pukkandan 1 year ago
parent e705738338
commit 25b6e8f946
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -7,6 +7,7 @@ passthrough_module(__name__, 'types')
del passthrough_module
try:
NoneType # >= 3.10
except NameError:
# NB: pypy has builtin NoneType, so checking NameError won't work
from types import NoneType # >= 3.10
except ImportError:
NoneType = type(None)

Loading…
Cancel
Save