From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/python~3.12/c-api%2Fnone.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 devdocs/python~3.12/c-api%2Fnone.html (limited to 'devdocs/python~3.12/c-api%2Fnone.html') diff --git a/devdocs/python~3.12/c-api%2Fnone.html b/devdocs/python~3.12/c-api%2Fnone.html new file mode 100644 index 00000000..e34a1fee --- /dev/null +++ b/devdocs/python~3.12/c-api%2Fnone.html @@ -0,0 +1,12 @@ +

The None Object

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.

+PyObject *Py_None
+

The Python None object, denoting lack of value. This object has no methods and is immortal.

+

Changed in version 3.12: Py_None is immortal.

+Py_RETURN_NONE
+

Return Py_None from a function.

+
+

+ © 2001–2023 Python Software Foundation
Licensed under the PSF License.
+ https://docs.python.org/3.12/c-api/none.html +

+
-- cgit v1.2.3