bpo-46481: Implement vectorcall for weakref.ref.__call__ method. (GH-30820)

This commit is contained in:
Dong-hee Na 2022-01-24 00:39:45 +09:00 committed by GitHub
parent 1f715d5bd3
commit 76dc047a0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 52 deletions

View file

@ -29,6 +29,7 @@ struct _PyWeakReference {
*/
PyWeakReference *wr_prev;
PyWeakReference *wr_next;
vectorcallfunc vectorcall;
};
PyAPI_FUNC(Py_ssize_t) _PyWeakref_GetWeakrefCount(PyWeakReference *head);