From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 24 May 2023 10:21:59 +0000 (-0700) Subject: [3.12] gh-102856: Add missing quote to fix doctest (GH-104852) (#104854) X-Git-Tag: v3.12.0b2~102 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d685eca8a6ef25963609246d18097032358881c;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-102856: Add missing quote to fix doctest (GH-104852) (#104854) Co-authored-by: Hugo van Kemenade --- diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 27fbb21c3342..265c9f84e8fc 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