gh-129405: Fix doc for Py_mod_multiple_interpreters default, and add test (GH-129406)

This commit is contained in:
Petr Viktorin 2025-02-24 14:59:19 +01:00 committed by GitHub
parent 805839021b
commit fc8d2cba54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 47 additions and 14 deletions

View file

@ -415,7 +415,7 @@ The available slot types are:
in one module definition.
If ``Py_mod_multiple_interpreters`` is not specified, the import
machinery defaults to ``Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED``.
machinery defaults to ``Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED``.
.. versionadded:: 3.12