mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-42725: mention the changes on what's new (GH-25974)
This commit is contained in:
parent
b063b02eab
commit
17229ab4a2
1 changed files with 10 additions and 0 deletions
|
@ -812,6 +812,16 @@ Other Language Changes
|
|||
:ref:`annotations-howto`.
|
||||
(Contributed by Larry Hastings in :issue:`43901`.)
|
||||
|
||||
* Annotations consist of ``yield``, ``yield from``, ``await`` or named expressions
|
||||
are now forbidden under ``from __future__ import annotations`` due to their side
|
||||
effects.
|
||||
(Contributed by Batuhan Taskaya in :issue:`42725`.)
|
||||
|
||||
* Usage of unbound variables, ``super()`` and other expressions that might
|
||||
alter the processing of symbol table as annotations are now rendered
|
||||
effectless under ``from __future__ import annotations``.
|
||||
(Contributed by Batuhan Taskaya in :issue:`42725`.)
|
||||
|
||||
New Modules
|
||||
===========
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue