summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/init.rst
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-07-31 23:03:01 (GMT)
committerGitHub <noreply@github.com>2023-07-31 23:03:01 (GMT)
commitfb344e99aa0da5bef9318684ade69978585fe060 (patch)
treef87bccc5feb24eef2e5db34fa9cbd482c7199612 /Doc/c-api/init.rst
parentabb71c6a8f73482c910ffdf050a86089a48e0e60 (diff)
downloadcpython-fb344e99aa0da5bef9318684ade69978585fe060.zip
cpython-fb344e99aa0da5bef9318684ade69978585fe060.tar.gz
cpython-fb344e99aa0da5bef9318684ade69978585fe060.tar.bz2
gh-107306: Add a Doc Entry for Py_mod_multiple_interpreters (#107403)
It was added in 3.12 for PEP 684 (per-interpreter GIL).
Diffstat (limited to 'Doc/c-api/init.rst')
-rw-r--r--Doc/c-api/init.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 60912a1..dd53fe2 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -1287,6 +1287,7 @@ function. You can create and destroy them using the following functions:
in any thread where the sub-interpreter is currently active.
Otherwise only multi-phase init extension modules
(see :pep:`489`) may be imported.
+ (Also see :c:macro:`Py_mod_multiple_interpreters`.)
This must be ``1`` (non-zero) if
:c:member:`~PyInterpreterConfig.use_main_obmalloc` is ``0``.