8000 gh-102856: Add missing quote to fix doctest (GH-104852) · miss-islington/cpython@ec62b10 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec62b10

Browse files
hugovkmiss-islington
authored andcommitted
pythongh-102856: Add missing quote to fix doctest (pythonGH-104852)
(cherry picked from commit 3e97c00) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
1 parent a5c0ef8 commit ec62b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/whatsnew/3.12.rst

Lines changed: 1 addition & 1 deletion
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)
0