mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
bpo-46481: Implement vectorcall for weakref.ref.__call__ method. (GH-30820)
This commit is contained in:
parent
1f715d5bd3
commit
76dc047a0e
4 changed files with 35 additions and 52 deletions
|
|
@ -29,6 +29,7 @@ struct _PyWeakReference {
|
|||
*/
|
||||
PyWeakReference *wr_prev;
|
||||
PyWeakReference *wr_next;
|
||||
vectorcallfunc vectorcall;
|
||||
};
|
||||
|
||||
PyAPI_FUNC(Py_ssize_t) _PyWeakref_GetWeakrefCount(PyWeakReference *head);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue