diff options
author | Dong-hee Na <donghee.na@python.org> | 2022-01-23 15:39:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-23 15:39:45 (GMT) |
commit | 76dc047a0e88d10aad0405228d56e94438cdd91c (patch) | |
tree | 854e9d3907e40f25d4c5ddaac7a92de44e106cb3 /Include/cpython | |
parent | 1f715d5bd3bc9ff444e109b6bbd13011913681b1 (diff) | |
download | cpython-76dc047a0e88d10aad0405228d56e94438cdd91c.zip cpython-76dc047a0e88d10aad0405228d56e94438cdd91c.tar.gz cpython-76dc047a0e88d10aad0405228d56e94438cdd91c.tar.bz2 |
bpo-46481: Implement vectorcall for weakref.ref.__call__ method. (GH-30820)
Diffstat (limited to 'Include/cpython')
-rw-r--r-- | Include/cpython/weakrefobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/cpython/weakrefobject.h b/Include/cpython/weakrefobject.h index 9efcc41..3623071 100644 --- a/Include/cpython/weakrefobject.h +++ b/Include/cpython/weakrefobject.h @@ -29,6 +29,7 @@ struct _PyWeakReference { */ PyWeakReference *wr_prev; PyWeakReference *wr_next; + vectorcallfunc vectorcall; }; PyAPI_FUNC(Py_ssize_t) _PyWeakref_GetWeakrefCount(PyWeakReference *head); |