PEP 649: Fix literal block syntax (#3125)

This commit is contained in:
Adam Turner 2023-04-26 00:14:44 +01:00 committed by GitHub
parent b49ab691d8
commit 63a594ff38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -693,12 +693,10 @@ that were permitted in stock semantics, but are disallowed when
``from __future__ import annotations`` is active, and will have
to be disallowed when this PEP is active:
```
:=
yield
yield from
await
```
* ``:=``
* ``yield``
* ``yield from``
* ``await``
Changes to ``inspect.get_annotations`` and ``typing.get_type_hints``
====================================================================