PEP 572: Annotations are supported, via separate declarations (#724)
This commit is contained in:
parent
765dc66abd
commit
05cd2883f7
|
@ -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::
|
||||
|
|
Loading…
Reference in New Issue