We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gcvisitobjects_t
1 parent 891465f commit 1e5798eCopy full SHA for 1e5798e
Doc/c-api/gcsupport.rst
@@ -277,7 +277,7 @@ the garbage collector.
277
278
Type of the visitor function to be passed to :c:func:`PyUnstable_GC_VisitObjects`.
279
*arg* is the same as the *arg* passed to ``PyUnstable_GC_VisitObjects``.
280
- Return ``0`` to continue iteration, return ``1`` to stop iteration. Other return
+ Return ``1`` to continue iteration, return ``0`` to stop iteration. Other return
281
values are reserved for now so behavior on returning anything else is undefined.
282
283
.. versionadded:: 3.12
0 commit comments