summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-05-24 10:21:15 (GMT)
committerGitHub <noreply@github.com>2023-05-24 10:21:15 (GMT)
commit3e97c001711ab68e3d54d65e264cb5c37fefbec0 (patch)
tree3944ce8e87d2c6a67e917ade107433a927c49c1f
parentc43785192c97698a0217a680b30baae22106ed3e (diff)
downloadcpython-3e97c001711ab68e3d54d65e264cb5c37fefbec0.zip
cpython-3e97c001711ab68e3d54d65e264cb5c37fefbec0.tar.gz
cpython-3e97c001711ab68e3d54d65e264cb5c37fefbec0.tar.bz2
gh-102856: Add missing quote to fix doctest (#104852)
-rw-r--r--Doc/whatsnew/3.12.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index b410fb2..9cf1019 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