From: Hugo van Kemenade Date: Wed, 24 May 2023 10:21:15 +0000 (+0300) Subject: gh-102856: Add missing quote to fix doctest (#104852) X-Git-Tag: v3.13.0a1~2062 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e97c001711ab68e3d54d65e264cb5c37fefbec0;p=thirdparty%2FPython%2Fcpython.git gh-102856: Add missing quote to fix doctest (#104852) --- diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index b410fb242098..9cf10196dcfc 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -157,7 +157,7 @@ same quote as the containing f-string. Let's cover these in detail: >>> songs = ['Take me back to Eden', 'Alkaline', 'Ascensionism'] >>> f"This is the playlist: {", ".join(songs)}" - 'This is the playlist: Take me back to Eden, Alkaline, Ascensionism + 'This is the playlist: Take me back to Eden, Alkaline, Ascensionism' Note that before this change there was no explicit limit in how f-strings can be nested, but the fact that string quotes cannot be reused inside the