bpo-40584: Update PyType_FromModuleAndSpec() to process tp_vectorcall_offset (GH-20026)
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst
index ea97e1e..634e971 100644
--- a/Doc/c-api/structures.rst
+++ b/Doc/c-api/structures.rst
@@ -424,9 +424,11 @@
Heap allocated types (created using :c:func:`PyType_FromSpec` or similar),
``PyMemberDef`` may contain definitions for the special members
- ``__dictoffset__`` and ``__weaklistoffset__``, corresponding to
- :c:member:`~PyTypeObject.tp_dictoffset` and
- :c:member:`~PyTypeObject.tp_weaklistoffset` in type objects.
+ ``__dictoffset__``, ``__weaklistoffset__`` and ``__vectorcalloffset__``,
+ corresponding to
+ :c:member:`~PyTypeObject.tp_dictoffset`,
+ :c:member:`~PyTypeObject.tp_weaklistoffset` and
+ :c:member:`~PyTypeObject.tp_vectorcall_offset` in type objects.
These must be defined with ``T_PYSSIZET`` and ``READONLY``, for example::
static PyMemberDef spam_type_members[] = {