Skip to content

Commit

Permalink
gh-107073: Mention pythoncapi-compat for PyObject_VisitManagedDict() (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner authored Oct 3, 2023
1 parent f5198b0 commit eeb4e97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eeb4e97

Please sign in to comment.