]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-102856: Add missing quote to fix doctest (#104852)
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Wed, 24 May 2023 10:21:15 +0000 (13:21 +0300)
committerGitHub <noreply@github.com>
Wed, 24 May 2023 10:21:15 +0000 (13:21 +0300)
Doc/whatsnew/3.12.rst

index b410fb242098ecf3ac66a88a3b2ffd5c1cfd1eab..9cf10196dcfcc4b6f07c57e3ab4ef8f72d739f79 100644 (file)
@@ -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