summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-05-24 10:21:59 (GMT)
committerGitHub <noreply@github.com>2023-05-24 10:21:59 (GMT)
commit2d685eca8a6ef25963609246d18097032358881c (patch)
treeff3f8be62e230d9aa126f8e8849c16a0c50b05a7 /Doc/whatsnew
parenta5c0ef87a1c7b08d9c7407a705b3751d9e0b3638 (diff)
downloadcpython-2d685eca8a6ef25963609246d18097032358881c.zip
cpython-2d685eca8a6ef25963609246d18097032358881c.tar.gz
cpython-2d685eca8a6ef25963609246d18097032358881c.tar.bz2
[3.12] gh-102856: Add missing quote to fix doctest (GH-104852) (#104854)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'Doc/whatsnew')
-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 27fbb21..265c9f8 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