Spaces:
Running on Zero
Running on Zero
A newer version of the Gradio SDK is available: 6.20.0
The None Object {#noneobject}
::: index pair: object; None :::
Note that the PyTypeObject{.interpreted-text role="c:type"} 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{.interpreted-text role="c:func"} function for the same reason.
The Python
Noneobject, denoting lack of value. This object has no methods and isimmortal{.interpreted-text role="term"}.::: versionchanged 3.12
Py_None{.interpreted-text role="c:data"} isimmortal{.interpreted-text role="term"}. :::
Return
Py_None{.interpreted-text role="c:data"} from a function.