From eeb4e974d074436b968749d51ce922303355a347 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 3 Oct 2023 17:50:10 +0200 Subject: [PATCH] gh-107073: Mention pythoncapi-compat for PyObject_VisitManagedDict() (#110291) --- Doc/whatsnew/3.13.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index 1ef04fa7ae6adc..a99d1141f53d77 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -998,7 +998,9 @@ New Features * Add :c:func:`PyObject_VisitManagedDict` and :c:func:`PyObject_ClearManagedDict` functions which must be called by the traverse and clear functions of a type using - :c:macro:`Py_TPFLAGS_MANAGED_DICT` flag. + :c:macro:`Py_TPFLAGS_MANAGED_DICT` flag. The `pythoncapi-compat project + `__ can be used to get these + functions on Python 3.11 and 3.12. (Contributed by Victor Stinner in :gh:`107073`.) Porting to Python 3.13