summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-24 13:59:12 (GMT)
committerGitHub <noreply@github.com>2023-08-24 13:59:12 (GMT)
commit67266266469fe0e817736227f39537182534c1a5 (patch)
tree1ae99ebf16335cbd67678f3911702e9819cbe039 /Misc/NEWS.d/next/C API
parentc163d7f0b67a568e9b64eeb9c1cbbaa127818596 (diff)
downloadcpython-67266266469fe0e817736227f39537182534c1a5.zip
cpython-67266266469fe0e817736227f39537182534c1a5.tar.gz
cpython-67266266469fe0e817736227f39537182534c1a5.tar.bz2
gh-108314: Add PyDict_ContainsString() function (#108323)
Diffstat (limited to 'Misc/NEWS.d/next/C API')
-rw-r--r--Misc/NEWS.d/next/C API/2023-08-22-18-45-20.gh-issue-108314.nOlmwq.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2023-08-22-18-45-20.gh-issue-108314.nOlmwq.rst b/Misc/NEWS.d/next/C API/2023-08-22-18-45-20.gh-issue-108314.nOlmwq.rst
new file mode 100644
index 0000000..90ae50a
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2023-08-22-18-45-20.gh-issue-108314.nOlmwq.rst
@@ -0,0 +1,4 @@
+Add :c:func:`PyDict_ContainsString` function: same as
+:c:func:`PyDict_Contains`, but *key* is specified as a :c:expr:`const char*`
+UTF-8 encoded bytes string, rather than a :c:expr:`PyObject*`.
+Patch by Victor Stinner.