diff options
author | Mark Shannon <mark@hotpy.org> | 2022-08-04 12:03:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 12:03:07 (GMT) |
commit | 312dab29a3f83940c501caadda9e653e1c7209b1 (patch) | |
tree | ae6a64b8a6656cee443452181e7dd809c79a1781 /Modules | |
parent | 2ab560105b9bfda503148e66e58d1d9a6031745e (diff) | |
download | cpython-312dab29a3f83940c501caadda9e653e1c7209b1.zip cpython-312dab29a3f83940c501caadda9e653e1c7209b1.tar.gz cpython-312dab29a3f83940c501caadda9e653e1c7209b1.tar.bz2 |
Revert "[3.11] GH-92678: Expose managed dict clear and visit functions (GH-95246). (#95256)" (#95647)
This reverts commit 7f731943393d57cf26ed5f2353e6e53084cd55fd.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_testcapimodule.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index a394f46..b0a4687 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -6014,14 +6014,6 @@ settrace_to_record(PyObject *self, PyObject *list) Py_RETURN_NONE; } -static PyObject * -clear_managed_dict(PyObject *self, PyObject *obj) -{ - _PyObject_ClearManagedDict(obj); - Py_RETURN_NONE; -} - - static PyObject *negative_dictoffset(PyObject *, PyObject *); static PyObject *test_buildvalue_issue38913(PyObject *, PyObject *); static PyObject *getargs_s_hash_int(PyObject *, PyObject *, PyObject*); @@ -6323,7 +6315,6 @@ static PyMethodDef TestMethods[] = { {"get_feature_macros", get_feature_macros, METH_NOARGS, NULL}, {"test_code_api", test_code_api, METH_NOARGS, NULL}, {"settrace_to_record", settrace_to_record, METH_O, NULL}, - {"clear_managed_dict", clear_managed_dict, METH_O, NULL}, {NULL, NULL} /* sentinel */ }; |