summaryrefslogtreecommitdiff
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-04-29 01:28:13 +0200
committerGitHub <noreply@github.com>2020-04-29 01:28:13 +0200
commit8852ad4208e34825f74e24945edb5bcf055d94fe (patch)
tree157f239ba46634301e136f4662b1646f7258357e /Doc/whatsnew
parent5e8c691594d68925213d36296ce7c4b3e90bcb1d (diff)
downloadcpython-git-8852ad4208e34825f74e24945edb5bcf055d94fe.tar.gz
bpo-40429: PyFrame_GetCode() now returns a strong reference (GH-19773)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.9.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index e3751fa168..cb3afd5935 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -537,8 +537,7 @@ Optimizations
Build and C API Changes
=======================
-* New :c:func:`PyFrame_GetCode` function: return a borrowed reference to the
- frame code.
+* New :c:func:`PyFrame_GetCode` function: get a frame code.
(Contributed by Victor Stinner in :issue:`40421`.)
* Add :c:func:`PyFrame_GetLineNumber` to the limited C API.