summaryrefslogtreecommitdiffstats
path: root/Include/cpython
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-10-02 17:24:08 (GMT)
committerGitHub <noreply@github.com>2023-10-02 17:24:08 (GMT)
commitfc2cb86d210555d509debaeefd370d5331cd9d93 (patch)
treeebbe2b02c0ff0b0c0cab825b52d79ccf3e99fb18 /Include/cpython
parent6387b5313c60c1403785b2245db33372476ac304 (diff)
downloadcpython-fc2cb86d210555d509debaeefd370d5331cd9d93.zip
cpython-fc2cb86d210555d509debaeefd370d5331cd9d93.tar.gz
cpython-fc2cb86d210555d509debaeefd370d5331cd9d93.tar.bz2
gh-107073: Make PyObject_VisitManagedDict() public (#108763)
Make PyObject_VisitManagedDict() and PyObject_ClearManagedDict() functions public in Python 3.13 C API. * Rename _PyObject_VisitManagedDict() to PyObject_VisitManagedDict(). * Rename _PyObject_ClearManagedDict() to PyObject_ClearManagedDict(). * Document these functions.
Diffstat (limited to 'Include/cpython')
-rw-r--r--Include/cpython/object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/cpython/object.h b/Include/cpython/object.h
index e598719..3838f19 100644
--- a/Include/cpython/object.h
+++ b/Include/cpython/object.h
@@ -444,8 +444,8 @@ PyAPI_FUNC(int) _PyTrash_cond(PyObject *op, destructor dealloc);
PyAPI_FUNC(void *) PyObject_GetItemData(PyObject *obj);
-PyAPI_FUNC(int) _PyObject_VisitManagedDict(PyObject *obj, visitproc visit, void *arg);
-PyAPI_FUNC(void) _PyObject_ClearManagedDict(PyObject *obj);
+PyAPI_FUNC(int) PyObject_VisitManagedDict(PyObject *obj, visitproc visit, void *arg);
+PyAPI_FUNC(void) PyObject_ClearManagedDict(PyObject *obj);
#define TYPE_MAX_WATCHERS 8