File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -585,7 +585,7 @@ Object Protocol
585585
586586 Clear the managed dictionary of *obj *.
587587
588- This function must only be called in a traverse function of the type which
588+ This function must only be called in a clear function of the type which
589589 has the :c:macro: `Py_TPFLAGS_MANAGED_DICT ` flag set.
590590
591591 .. versionadded :: 3.13
Original file line number Diff line number Diff line change @@ -1691,7 +1691,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
16911691 :c:func: `Py_CLEAR ` macro performs the operations in a safe order.
16921692
16931693 If the :c:macro: `Py_TPFLAGS_MANAGED_DICT ` bit is set in the
1694- :c:member: `~PyTypeObject.tp_flags ` field, the traverse function must call
1694+ :c:member: `~PyTypeObject.tp_flags ` field, the clear function must call
16951695 :c:func: `PyObject_ClearManagedDict ` like this::
16961696
16971697 PyObject_ClearManagedDict((PyObject*)self);
You can’t perform that action at this time.
0 commit comments