From 45ec7669fe8b099abb105f66b43acc07f71eae07 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 14 Sep 2026 11:43:13 +0200 Subject: [PATCH] gh-156995: Fix typo in the _PyBytes_Resize() NEWS entry Co-authored-by: Cody Maloney --- .../next/C_API/2026-09-12-21-00-42.gh-issue-156995.UVjqQe.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/C_API/2026-09-12-21-00-42.gh-issue-156995.UVjqQe.rst b/Misc/NEWS.d/next/C_API/2026-09-12-21-00-42.gh-issue-156995.UVjqQe.rst index f496a9dc8880fe..ac2b7f7aae52fd 100644 --- a/Misc/NEWS.d/next/C_API/2026-09-12-21-00-42.gh-issue-156995.UVjqQe.rst +++ b/Misc/NEWS.d/next/C_API/2026-09-12-21-00-42.gh-issue-156995.UVjqQe.rst @@ -1,3 +1,3 @@ On Free Threading, ``_PyBytes_Resize(&obj, 1)`` no longer returns a single byte -singleton is the current thread is different than the thread which created the +singleton if the current thread is different than the thread which created the object. Patch by Stan Ulbrych.