From e0477ae371d983bec07b3dc75e6426785592f2d4 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 18 May 2022 14:09:44 +0200 Subject: [PATCH] gh-91755: Remove doc of C API private refcount functions (#92918) These functions should only be used by Python internals. --- Doc/c-api/refcounting.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Doc/c-api/refcounting.rst b/Doc/c-api/refcounting.rst index 738bd77e9ce..1cff4e7215c 100644 --- a/Doc/c-api/refcounting.rst +++ b/Doc/c-api/refcounting.rst @@ -119,9 +119,3 @@ objects. Decrement the reference count for object *o*. A function version of :c:func:`Py_XDECREF`. It can be used for runtime dynamic embedding of Python. - - -The following functions or macros are only for use within the interpreter core: -:c:func:`_Py_Dealloc`, :c:func:`_Py_ForgetReference`, :c:func:`_Py_NewReference`, -as well as the global variable :c:data:`_Py_RefTotal`. -