File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 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.)
14731473
14741474 If the :c:macro: `Py_TPFLAGS_MANAGED_DICT ` bit is set in the
14751475 :c:member: `~PyTypeObject.tp_flags ` field, the traverse function must call
1476- :func: `PyObject_ClearManagedDict ` like this::
1476+ :c: func: `PyObject_ClearManagedDict ` like this::
14771477
14781478 PyObject_ClearManagedDict((PyObject*)self);
14791479
Original file line number Diff line number Diff line change @@ -1806,9 +1806,10 @@ New Features
18061806 hide implementation details.
18071807 (Contributed by Victor Stinner in :gh: `105387 `.)
18081808
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.
18121813 (Contributed by Victor Stinner in :gh: `107073 `.)
18131814
18141815Porting 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