https://github.com/python/cpython/commit/41f76ae1c06e4914d81f61b95034a7d2b081b503
commit: 41f76ae1c06e4914d81f61b95034a7d2b081b503
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2026-01-20T12:06:21+02:00
summary:

[3.14] gh-75459: versionadded for PyObject_CallFinalizer*() API (GH-143982) 
(#144026)

Co-authored-by: Sergey B Kirpichev <[email protected]>

files:
M Doc/c-api/lifecycle.rst

diff --git a/Doc/c-api/lifecycle.rst b/Doc/c-api/lifecycle.rst
index 5a170862a26f44..531c4080a0131c 100644
--- a/Doc/c-api/lifecycle.rst
+++ b/Doc/c-api/lifecycle.rst
@@ -256,6 +256,8 @@ To allocate and free memory, see :ref:`allocating-objects`.
    collection (i.e., the :c:macro:`Py_TPFLAGS_HAVE_GC` flag is set); this may
    change in the future.
 
+   .. versionadded:: 3.4
+
 
 .. c:function:: int PyObject_CallFinalizerFromDealloc(PyObject *op)
 
@@ -266,6 +268,8 @@ To allocate and free memory, see :ref:`allocating-objects`.
    should happen.  Otherwise, this function returns 0 and destruction can
    continue normally.
 
+   .. versionadded:: 3.4
+
    .. seealso::
 
       :c:member:`~PyTypeObject.tp_dealloc` for example code.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to