From: Victor Stinner Date: Wed, 18 May 2022 12:09:44 +0000 (+0200) Subject: gh-91755: Remove doc of C API private refcount functions (#92918) X-Git-Tag: v3.12.0a1~1513 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0477ae371d983bec07b3dc75e6426785592f2d4;p=thirdparty%2FPython%2Fcpython.git gh-91755: Remove doc of C API private refcount functions (#92918) These functions should only be used by Python internals. --- diff --git a/Doc/c-api/refcounting.rst b/Doc/c-api/refcounting.rst index 738bd77e9ce4..1cff4e7215cf 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`. -