diff options
author | Wenzel Jakob <wenzel.jakob@epfl.ch> | 2024-09-13 15:40:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-13 15:40:25 (GMT) |
commit | 74330d992be26829dba65ab83d698d42b2f2a2ee (patch) | |
tree | 2463c9d5871d5057df1cf7e81eabfc268cf43fab /Objects | |
parent | bbb36c0934b7644a9f8b67d3cae78aa6240e005a (diff) | |
download | cpython-74330d992be26829dba65ab83d698d42b2f2a2ee.zip cpython-74330d992be26829dba65ab83d698d42b2f2a2ee.tar.gz cpython-74330d992be26829dba65ab83d698d42b2f2a2ee.tar.bz2 |
gh-100554: Add ``Py_tp_vectorcall`` slot to set ``PyTypeObject.tp_vectorcall`` using the ``PyType_FromSpec`` function family. (#123332)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeslots.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/typeslots.inc b/Objects/typeslots.inc index 896daa7..ffb85ff 100644 --- a/Objects/typeslots.inc +++ b/Objects/typeslots.inc @@ -80,3 +80,4 @@ {offsetof(PyAsyncMethods, am_anext), offsetof(PyTypeObject, tp_as_async)}, {-1, offsetof(PyTypeObject, tp_finalize)}, {offsetof(PyAsyncMethods, am_send), offsetof(PyTypeObject, tp_as_async)}, +{-1, offsetof(PyTypeObject, tp_vectorcall)}, |