gh-102856: Add missing quote to fix doctest (#104852)

This commit is contained in:
Hugo van Kemenade 2023-05-24 13:21:15 +03:00 committed by GitHub
parent c43785192c
commit 3e97c00171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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