gh-107073: Mention pythoncapi-compat for PyObject_VisitManagedDict() (#110291)

This commit is contained in:
Victor Stinner 2023-10-03 17:50:10 +02:00 committed by GitHub
parent f5198b09e1
commit eeb4e974d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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
<https://github.com/python/pythoncapi-compat/>`__ 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