Typo in PEP 526 (#614)
This commit is contained in:
parent
43168c8b77
commit
dd451b599a
|
@ -365,7 +365,8 @@ and local variables should have a single space after corresponding colon.
|
|||
There should be no space before the colon. If an assignment has right hand
|
||||
side, then the equality sign should have exactly one space on both sides.
|
||||
Examples:
|
||||
* Yes::
|
||||
|
||||
- Yes::
|
||||
|
||||
code: int
|
||||
|
||||
|
@ -373,7 +374,7 @@ Examples:
|
|||
coords: Tuple[int, int]
|
||||
label: str = '<unknown>'
|
||||
|
||||
* No::
|
||||
- No::
|
||||
|
||||
code:int # No space after colon
|
||||
code : int # Space before colon
|
||||
|
|
Loading…
Reference in New Issue