PEP 572: Annotations are supported, via separate declarations (#724)

This commit is contained in:
Nick Coghlan 2018-07-11 04:08:09 +10:00 committed by Guido van Rossum
parent 765dc66abd
commit 05cd2883f7
1 changed files with 2 additions and 2 deletions

View File

@ -374,9 +374,9 @@ found in assignment statements:
px, py, pz = position
name, phone, email, *other_info = contact
- Type annotations are not supported::
- Inline type annotations are not supported::
# No equivalent
# Closest equivalent is "p: Optional[int]" as a separate declaration
p: Optional[int] = None
- Augmented assignment is not supported::