Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Doc/c-api/object.rst
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,12 @@ Object Protocol
that this function doesn't call into the Python interpreter. This function
cannot fail.

.. caution::

For objects where :c:expr:`Py_REFCNT(op) == 1` is always true this
function will return false when checked in a different thread than the
allocation.

.. versionadded:: 3.14

.. c:function:: int PyUnstable_SetImmortal(PyObject *op)
Expand Down
Loading