Skip to content

Commit

Permalink
Fix "FSTRING_MIDDLE" typo in py312 "What's New" (python#109222)
Browse files Browse the repository at this point in the history
  • Loading branch information
Delgan committed Sep 10, 2023
1 parent 85a5d3d commit 2dd6a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down

0 comments on commit 2dd6a86

Please sign in to comment.