From 374dddeaf2b58aafd2b4e61a66b87d82b0439e6b Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 2 May 2026 13:03:52 +0200 Subject: [PATCH] Fix typo in the doc --- Doc/whatsnew/3.15.rst | 2 +- .../next/Library/2026-05-02-12-30-35.gh-issue-148675.cu2YFT.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/whatsnew/3.15.rst b/Doc/whatsnew/3.15.rst index ff92a8649e9..df39bb76cf0 100644 --- a/Doc/whatsnew/3.15.rst +++ b/Doc/whatsnew/3.15.rst @@ -687,7 +687,7 @@ array character ``'e'``. (Contributed by Sergey B Kirpichev in :gh:`146238`.) -* The :data:`array.typecodes` type changed from :str:`str` to :class:`tuple` +* The :data:`array.typecodes` type changed from :class:`str` to :class:`tuple` to support type codes longer than 1 character (``Zf`` and ``Zd``). (Contributed by Victor Stinner in :gh:`148675`.) diff --git a/Misc/NEWS.d/next/Library/2026-05-02-12-30-35.gh-issue-148675.cu2YFT.rst b/Misc/NEWS.d/next/Library/2026-05-02-12-30-35.gh-issue-148675.cu2YFT.rst index b300c16bf11..0f4a737b3ce 100644 --- a/Misc/NEWS.d/next/Library/2026-05-02-12-30-35.gh-issue-148675.cu2YFT.rst +++ b/Misc/NEWS.d/next/Library/2026-05-02-12-30-35.gh-issue-148675.cu2YFT.rst @@ -1,3 +1,3 @@ -The :data:`array.typecodes` type changed from :str:`str` to :class:`tuple` +The :data:`array.typecodes` type changed from :class:`str` to :class:`tuple` to support type codes longer than 1 character (``Zf`` and ``Zd``). Patch by Victor Stinner.