Skip to content

Commit 3e97c00

Browse files
authored
gh-102856: Add missing quote to fix doctest (#104852)
1 parent c437851 commit 3e97c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/whatsnew/3.12.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ same quote as the containing f-string. Let's cover these in detail:
157157

158158
>>> songs = ['Take me back to Eden', 'Alkaline', 'Ascensionism']
159159
>>> f"This is the playlist: {", ".join(songs)}"
160-
'This is the playlist: Take me back to Eden, Alkaline, Ascensionism
160+
'This is the playlist: Take me back to Eden, Alkaline, Ascensionism'
161161

162162
Note that before this change there was no explicit limit in how f-strings can
163163
be nested, but the fact that string quotes cannot be reused inside the

0 commit comments

Comments
 (0)