mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Fix "FSTRING_MIDDLE" typo in py312 "What's New" (#109222)
This commit is contained in:
parent
85a5d3dbe1
commit
2dd6a86c4e
1 changed files with 1 additions and 1 deletions
|
|
@ -1599,7 +1599,7 @@ Changes in the Python API
|
||||||
functions is now changed due to the changes introduced in :pep:`701`. This
|
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
|
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``,
|
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
|
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"``
|
expression components. For example for the f-string ``f"start {1+1} end"``
|
||||||
the old version of the tokenizer emitted::
|
the old version of the tokenizer emitted::
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue