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:
Erlend E. Aasland 2023-02-25 13:44:10 +01:00 committed by GitHub
parent 78b814d7a6
commit 6d182da522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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