mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-141909: Add PyModuleDef_Slot and earlier Py_mod_* constants to stable ABI manifest (#141910)
These were added to the limited API in 3.5. Not including them in `Misc/stable_abi.toml` was a bug.
This commit is contained in:
parent
f445c452ea
commit
202fce0dbd
3 changed files with 21 additions and 0 deletions
|
|
@ -328,6 +328,8 @@ The available slot types are:
|
|||
``PyModuleDef`` has non-``NULL`` ``m_traverse``, ``m_clear``,
|
||||
``m_free``; non-zero ``m_size``; or slots other than ``Py_mod_create``.
|
||||
|
||||
.. versionadded:: 3.5
|
||||
|
||||
.. c:macro:: Py_mod_exec
|
||||
|
||||
Specifies a function that is called to *execute* the module.
|
||||
|
|
@ -342,6 +344,8 @@ The available slot types are:
|
|||
If multiple ``Py_mod_exec`` slots are specified, they are processed in the
|
||||
order they appear in the *m_slots* array.
|
||||
|
||||
.. versionadded:: 3.5
|
||||
|
||||
.. c:macro:: Py_mod_multiple_interpreters
|
||||
|
||||
Specifies one of the following values:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue