Skip to content
Closed
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
Remove sys._defer_refcount() documentation.
  • Loading branch information
ZeroIntensity committed May 27, 2025
commit f0fc73c22e47d2413025a83202559d9b3813364e
20 changes: 0 additions & 20 deletions Doc/library/sys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -290,26 +290,6 @@ always available. Unless explicitly noted otherwise, all variables are read-only
This function is specific to CPython. The exact output format is not
defined here, and may change.

.. function:: _defer_refcount(op)

Enable deferred reference counting on *op*, mitigating reference count
contention on :term:`free threaded <free threading>` builds of Python.

Return :const:`True` if deferred reference counting was enabled on *op*,
and :const:`False` otherwise.

.. versionadded:: next

.. impl-detail::

This function should be used for specialized purposes only.
It is not guaranteed to exist in all implementations of Python.

.. seealso::

:c:func:`PyUnstable_Object_EnableDeferredRefcount`


.. data:: dllhandle

Integer specifying the handle of the Python DLL.
Expand Down