summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorlarryhastings <larry@hastings.org>2022-10-06 19:23:20 (GMT)
committerGitHub <noreply@github.com>2022-10-06 19:23:20 (GMT)
commit6bfb0be80486c614cd60dce44c9fe7b3e6c76e3b (patch)
tree49b1db448d47e8dfddceac156981292c698fc551 /Misc/NEWS.d
parent23e83a84651bbcf1f3778baf3ab0b4cbfead75e3 (diff)
downloadcpython-6bfb0be80486c614cd60dce44c9fe7b3e6c76e3b.zip
cpython-6bfb0be80486c614cd60dce44c9fe7b3e6c76e3b.tar.gz
cpython-6bfb0be80486c614cd60dce44c9fe7b3e6c76e3b.tar.bz2
gh-97943: PyFunction_GetAnnotations should return a borrowed reference. (#97949)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-10-05-17-02-22.gh-issue-97943.LYAWlE.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-05-17-02-22.gh-issue-97943.LYAWlE.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-05-17-02-22.gh-issue-97943.LYAWlE.rst
new file mode 100644
index 0000000..9b4a421
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-10-05-17-02-22.gh-issue-97943.LYAWlE.rst
@@ -0,0 +1,2 @@
+Bugfix: :func:`PyFunction_GetAnnotations` should return a borrowed
+reference. It was returning a new reference.