PEP 8: Fix typos (#2600)
This commit is contained in:
parent
a45a339549
commit
46efeee6d5
|
@ -296,7 +296,7 @@ related one-liners (e.g. a set of dummy implementations).
|
|||
Use blank lines in functions, sparingly, to indicate logical sections.
|
||||
|
||||
Python accepts the control-L (i.e. ^L) form feed character as
|
||||
whitespace; Many tools treat these characters as page separators, so
|
||||
whitespace; many tools treat these characters as page separators, so
|
||||
you may use them to separate pages of related sections of your file.
|
||||
Note, some editors and web-based code viewers may not recognize
|
||||
control-L as a form feed and will show another glyph in its place.
|
||||
|
@ -1359,7 +1359,7 @@ Function Annotations
|
|||
With the acceptance of :pep:`484`, the style rules for function
|
||||
annotations have changed.
|
||||
|
||||
- Function annotations should use :pep:`484` syntax (There are some
|
||||
- Function annotations should use :pep:`484` syntax (there are some
|
||||
formatting recommendations for annotations in the previous section).
|
||||
|
||||
- The experimentation with annotation styles that was recommended
|
||||
|
|
Loading…
Reference in New Issue