The `None` Object
pair: object; None
Note that the PyTypeObject for None is not directly exposed in the Python/C API. Since None is a singleton, testing for object identity (using == in C) is sufficient. There is no !PyNone_Check function for the same reason.
The Python
Noneobject, denoting lack of value. This object has no methods and isimmortal.3.12
Py_Noneisimmortal.
Return
Py_Nonefrom a function.
这篇文档对你有帮助吗?
谢谢你的反馈!