summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-13 17:15:33 (GMT)
committerGitHub <noreply@github.com>2020-03-13 17:15:33 (GMT)
commitbe79373a78c0d75fc715ab64253c9b757987a848 (patch)
tree9fba5caff3547b80fbfd2b468339458e7d5d0037 /Misc
parentff4584caca04cb3da0dbd5b1e9bf67e40adf5312 (diff)
downloadcpython-be79373a78c0d75fc715ab64253c9b757987a848.zip
cpython-be79373a78c0d75fc715ab64253c9b757987a848.tar.gz
cpython-be79373a78c0d75fc715ab64253c9b757987a848.tar.bz2
bpo-39947: Add PyInterpreterState_Get() function (GH-18979)
* Rename _PyInterpreterState_Get() to PyInterpreterState_Get() and move it the limited C API. * Add _PyInterpreterState_Get() alias to PyInterpreterState_Get() for backward compatibility with Python 3.8.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C API/2020-03-13-17-43-00.bpo-39947.1Cu_d2.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-03-13-17-43-00.bpo-39947.1Cu_d2.rst b/Misc/NEWS.d/next/C API/2020-03-13-17-43-00.bpo-39947.1Cu_d2.rst
new file mode 100644
index 0000000..c7184be
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2020-03-13-17-43-00.bpo-39947.1Cu_d2.rst
@@ -0,0 +1 @@
+Add :c:func:`PyInterpreterState_Get` function to the limited C API.