diff options
author | Victor Stinner <vstinner@python.org> | 2023-10-02 17:24:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 17:24:08 (GMT) |
commit | fc2cb86d210555d509debaeefd370d5331cd9d93 (patch) | |
tree | ebbe2b02c0ff0b0c0cab825b52d79ccf3e99fb18 /Modules/_testcapimodule.c | |
parent | 6387b5313c60c1403785b2245db33372476ac304 (diff) | |
download | cpython-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 'Modules/_testcapimodule.c')
-rw-r--r-- | Modules/_testcapimodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index e09fd88..64bcb49 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -2923,7 +2923,7 @@ settrace_to_error(PyObject *self, PyObject *list) static PyObject * clear_managed_dict(PyObject *self, PyObject *obj) { - _PyObject_ClearManagedDict(obj); + PyObject_ClearManagedDict(obj); Py_RETURN_NONE; } |