We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21cf2c4 commit 8d20c00Copy full SHA for 8d20c00
Doc/c-api/object.rst
@@ -615,7 +615,7 @@ Object Protocol
615
616
.. c:function:: int PyUnstable_IsImmortal(PyObject *obj)
617
618
- This function returns ``1`` if *obj* is :term:`immortal`, and ``0`` otherwise. This function cannot fail.
+ This function returns non-zero if *obj* is :term:`immortal`, and zero otherwise. This function cannot fail.
619
620
Immortal objects don't care about reference counting, thus they no-op calls to :c:func:`Py_INCREF`
621
and :c:func:`Py_DECREF`. Some immutable objects such as literal strings, small integers, or special tuples
0 commit comments