]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-75459: versionadded for PyObject_CallFinalizer*() API (GH-143982) (#144026)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 20 Jan 2026 10:06:21 +0000 (11:06 +0100)
committerGitHub <noreply@github.com>
Tue, 20 Jan 2026 10:06:21 +0000 (12:06 +0200)
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Doc/c-api/lifecycle.rst

index 5a170862a26f44086c8aa12b62ede0f860eb2121..531c4080a0131c3340d931e0ed7db883a5d06f00 100644 (file)
@@ -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.