File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1473,7 +1473,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
1473
1473
1474
1474
If the :c:macro: `Py_TPFLAGS_MANAGED_DICT ` bit is set in the
1475
1475
:c:member: `~PyTypeObject.tp_flags ` field, the traverse function must call
1476
- :func: `PyObject_ClearManagedDict ` like this::
1476
+ :c: func: `PyObject_ClearManagedDict ` like this::
1477
1477
1478
1478
PyObject_ClearManagedDict((PyObject*)self);
1479
1479
Original file line number Diff line number Diff line change @@ -1806,9 +1806,10 @@ New Features
1806
1806
hide implementation details.
1807
1807
(Contributed by Victor Stinner in :gh: `105387 `.)
1808
1808
1809
- * Add :c:func: `PyObject_VisitManagedDict ` and :func: `PyObject_ClearManagedDict `
1810
- functions which must be called by the traverse and clear functions of a type
1811
- using :c:macro: `Py_TPFLAGS_MANAGED_DICT ` flag.
1809
+ * Add :c:func: `PyObject_VisitManagedDict ` and
1810
+ :c:func: `PyObject_ClearManagedDict ` functions which must be called by the
1811
+ traverse and clear functions of a type using
1812
+ :c:macro: `Py_TPFLAGS_MANAGED_DICT ` flag.
1812
1813
(Contributed by Victor Stinner in :gh: `107073 `.)
1813
1814
1814
1815
Porting to Python 3.12
Original file line number Diff line number Diff line change 1
- Add :c:func: `PyObject_VisitManagedDict ` and
2
- :func: `PyObject_ClearManagedDict ` functions which must be called by the
3
- traverse and clear functions of a type using
4
- :c:macro: `Py_TPFLAGS_MANAGED_DICT ` flag. Patch by Victor Stinner.
1
+ Add :c:func: `PyObject_VisitManagedDict ` and :c:func: `PyObject_ClearManagedDict `
2
+ functions which must be called by the traverse and clear functions of a type
3
+ using :c:macro: `Py_TPFLAGS_MANAGED_DICT ` flag. Patch by Victor Stinner.
You can’t perform that action at this time.
0 commit comments