Typo in PEP 526 (#614)

This commit is contained in:
toonarmycaptain 2018-04-11 13:18:19 -05:00 committed by Brett Cannon
parent 43168c8b77
commit dd451b599a
1 changed files with 3 additions and 2 deletions

View File

@ -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