Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix version marker (II).
  • Loading branch information
scoder committed Apr 28, 2021
commit 84fb2afd755945720d581908dac5309461cc72e8
6 changes: 3 additions & 3 deletions Doc/c-api/gcsupport.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,20 +199,20 @@ garbage collection runs.
Enable the garbage collector: similar to :func:`gc.enable`.
Returns the previous state, 0 for disabled and 1 for enabled.

.. versionadded:: 3.10
.. versionadded:: 3.10


.. c:function:: int PyGC_Disable(void)

Disable the garbage collector: similar to :func:`gc.disable`.
Returns the previous state, 0 for disabled and 1 for enabled.

.. versionadded:: 3.10
.. versionadded:: 3.10


.. c:function:: int PyGC_IsEnabled(void)

Query the state of the garbage collector: similar to :func:`gc.isenabled`.
Returns the current state, 0 for disabled and 1 for enabled.

.. versionadded:: 3.10
.. versionadded:: 3.10