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
Next Next commit
Fix version marker.
  • Loading branch information
scoder committed Apr 28, 2021
commit d517665ed8953786e3d8c45cee2c03e9e1e2d203
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.

.. versionchanged:: 3.10
.. versionadded:: 3.10
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix also the indentation.



.. 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.

.. versionchanged:: 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.

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