[Python-checkins] gh-91755: Remove doc of C API private refcount functions (#92918)

vstinner webhook-mailer at python.org
Wed May 18 08:09:52 EDT 2022


https://github.com/python/cpython/commit/e0477ae371d983bec07b3dc75e6426785592f2d4
commit: e0477ae371d983bec07b3dc75e6426785592f2d4
branch: main
author: Victor Stinner <vstinner at python.org>
committer: vstinner <vstinner at python.org>
date: 2022-05-18T14:09:44+02:00
summary:

gh-91755: Remove doc of C API private refcount functions (#92918)

These functions should only be used by Python internals.

files:
M Doc/c-api/refcounting.rst

diff --git a/Doc/c-api/refcounting.rst b/Doc/c-api/refcounting.rst
index 738bd77e9ce42..1cff4e7215cf4 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`.
-



More information about the Python-checkins mailing list