Skip to content

Commit bcd5907

Browse files
[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 2dd6a86) Co-authored-by: Delgan <[email protected]>
1 parent aef019b commit bcd5907

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
@@ -1599,7 +1599,7 @@ Changes in the Python API
15991599
functions is now changed due to the changes introduced in :pep:`701`. This
16001600
means that ``STRING`` tokens are not emitted any more for f-strings and the
16011601
tokens described in :pep:`701` are now produced instead: ``FSTRING_START``,
1602-
``FSRING_MIDDLE`` and ``FSTRING_END`` are now emitted for f-string "string"
1602+
``FSTRING_MIDDLE`` and ``FSTRING_END`` are now emitted for f-string "string"
16031603
parts in addition to the appropriate tokens for the tokenization in the
16041604
expression components. For example for the f-string ``f"start {1+1} end"``
16051605
the old version of the tokenizer emitted::

0 commit comments

Comments
 (0)