From eb4f82c52c5180776a4429e0da7691ec46ff5e1c Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 22 Feb 2023 22:54:15 +0100 Subject: [PATCH 1/2] PEP 8: Allow both one and two spaces after period Authored-by: Hugo van Kemenade --- pep-0008.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-0008.txt b/pep-0008.txt index cf126b4a4b4..15f963b8cf6 100644 --- a/pep-0008.txt +++ b/pep-0008.txt @@ -705,7 +705,7 @@ letter (never alter the case of identifiers!). Block comments generally consist of one or more paragraphs built out of 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 multi- sentence comments, except after the final sentence. Ensure that your comments are clear and easily understandable to other From b13d6523d51000fd62d8b39e9003ed8ced501a9e Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 25 Feb 2023 09:49:03 +0200 Subject: [PATCH 2/2] Fix dangling hyphen Co-authored-by: Jelle Zijlstra --- pep-0008.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0008.txt b/pep-0008.txt index 15f963b8cf6..18fc23735e4 100644 --- a/pep-0008.txt +++ b/pep-0008.txt @@ -705,8 +705,8 @@ letter (never alter the case of identifiers!). Block comments generally consist of one or more paragraphs built out of complete sentences, with each sentence ending in a period. -You should use one or two spaces after a sentence-ending period in multi- -sentence comments, except after the final sentence. +You should use one or two spaces after a sentence-ending period in +multi-sentence comments, except after the final sentence. Ensure that your comments are clear and easily understandable to other speakers of the language you are writing in. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy