PEP 8: Allow both one and two spaces after period (#3027)
Authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
78b814d7a6
commit
6d182da522
|
@ -705,8 +705,8 @@ letter (never alter the case of identifiers!).
|
||||||
Block comments generally consist of one or more paragraphs built out of
|
Block comments generally consist of one or more paragraphs built out of
|
||||||
complete sentences, with each sentence ending in a period.
|
complete sentences, with each sentence ending in a period.
|
||||||
|
|
||||||
You should use two spaces after a sentence-ending period in multi-
|
You should use one or two spaces after a sentence-ending period in
|
||||||
sentence comments, except after the final sentence.
|
multi-sentence comments, except after the final sentence.
|
||||||
|
|
||||||
Ensure that your comments are clear and easily understandable to other
|
Ensure that your comments are clear and easily understandable to other
|
||||||
speakers of the language you are writing in.
|
speakers of the language you are writing in.
|
||||||
|
|
Loading…
Reference in New Issue