mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
gh-133644: remove PyWeakref_GetObject and PyWeakref_GET_OBJECT (GH-133657)
This commit is contained in:
parent
30f849250b
commit
a5e0562350
16 changed files with 24 additions and 73 deletions
|
|
@ -964,7 +964,8 @@ PyWeakref_GetRef(PyObject *ref, PyObject **pobj)
|
|||
}
|
||||
|
||||
|
||||
PyObject *
|
||||
/* removed in 3.15, but kept for stable ABI compatibility */
|
||||
PyAPI_FUNC(PyObject *)
|
||||
PyWeakref_GetObject(PyObject *ref)
|
||||
{
|
||||
if (ref == NULL || !PyWeakref_Check(ref)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue