未验证 提交 e0c4db04 编写于 作者: P pukkandan

[compat] Add `types.NoneType`

上级 81b4712b
# 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)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册