summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.9.rst
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-13 22:38:08 (GMT)
committerGitHub <noreply@github.com>2020-03-13 22:38:08 (GMT)
commit8fb02b6e1942811c8d81041e7df3f5f1f4b1d410 (patch)
tree3aa66f0f66f706d076cacd4f207039bdca5675bb /Doc/whatsnew/3.9.rst
parentbe79373a78c0d75fc715ab64253c9b757987a848 (diff)
downloadcpython-8fb02b6e1942811c8d81041e7df3f5f1f4b1d410.zip
cpython-8fb02b6e1942811c8d81041e7df3f5f1f4b1d410.tar.gz
cpython-8fb02b6e1942811c8d81041e7df3f5f1f4b1d410.tar.bz2
bpo-39947: Add PyThreadState_GetInterpreter() (GH-18981)
Add PyThreadState_GetInterpreter(tstate): get the interpreter of a Python thread state.
Diffstat (limited to 'Doc/whatsnew/3.9.rst')
-rw-r--r--Doc/whatsnew/3.9.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 4373e37..4ef82fe 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -406,7 +406,8 @@ Optimizations
Build and C API Changes
=======================
-* New :c:func:`PyInterpreterState_Get` function.
+* New :c:func:`PyThreadState_GetInterpreter` and
+ :c:func:`PyInterpreterState_Get` functions to get the interpreter.
* Add ``--with-platlibdir`` option to the ``configure`` script: name of the
platform-specific library directory, stored in the new :attr:`sys.platlibdir`