gh-133644: remove PyWeakref_GetObject and PyWeakref_GET_OBJECT (GH-133657)

This commit is contained in:
Bénédikt Tran 2025-09-24 11:25:56 +02:00 committed by GitHub
parent 30f849250b
commit a5e0562350
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 24 additions and 73 deletions

View file

@ -27,7 +27,6 @@ PyAPI_FUNC(PyObject *) PyWeakref_NewRef(PyObject *ob,
PyObject *callback);
PyAPI_FUNC(PyObject *) PyWeakref_NewProxy(PyObject *ob,
PyObject *callback);
Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref);
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030D0000
PyAPI_FUNC(int) PyWeakref_GetRef(PyObject *ref, PyObject **pobj);