summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/refcounting.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/c-api/refcounting.rst b/Doc/c-api/refcounting.rst
index 68119a2..75e1d46 100644
--- a/Doc/c-api/refcounting.rst
+++ b/Doc/c-api/refcounting.rst
@@ -34,6 +34,9 @@ of Python objects.
Set the object *o* reference counter to *refcnt*.
+ On :ref:`Python build with Free Threading <free-threading-build>`, if
+ *refcnt* is larger than ``UINT32_MAX``, the object is made :term:`immortal`.
+
This function has no effect on :term:`immortal` objects.
.. versionadded:: 3.9