diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-09-12 14:00:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 14:00:54 (GMT) |
commit | bcd59070d0ba2c0a6df08688e48578314cda92c1 (patch) | |
tree | 10930712d8837fb3bd211326d144937e0c3d3083 | |
parent | aef019b04a249cf6c395e663f9e27a4d63cf2ae2 (diff) | |
download | cpython-bcd59070d0ba2c0a6df08688e48578314cda92c1.zip cpython-bcd59070d0ba2c0a6df08688e48578314cda92c1.tar.gz cpython-bcd59070d0ba2c0a6df08688e48578314cda92c1.tar.bz2 |
[3.12] Fix "FSTRING_MIDDLE" typo in py312 "What's New" (GH-109222) (#109223)
Fix "FSTRING_MIDDLE" typo in py312 "What's New" (GH-109222)
(cherry picked from commit 2dd6a86c4ee604b331ed739c2508b0d0114993c6)
Co-authored-by: Delgan <4193924+Delgan@users.noreply.github.com>
-rw-r--r-- | Doc/whatsnew/3.12.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 57f33e6..b05107d 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -1599,7 +1599,7 @@ Changes in the Python API functions is now changed due to the changes introduced in :pep:`701`. This means that ``STRING`` tokens are not emitted any more for f-strings and the tokens described in :pep:`701` are now produced instead: ``FSTRING_START``, - ``FSRING_MIDDLE`` and ``FSTRING_END`` are now emitted for f-string "string" + ``FSTRING_MIDDLE`` and ``FSTRING_END`` are now emitted for f-string "string" parts in addition to the appropriate tokens for the tokenization in the expression components. For example for the f-string ``f"start {1+1} end"`` the old version of the tokenizer emitted:: |