← Back to DAGDA | Support | Source: https://github.com/python/peps/commit/0c6427dcec1e98ca0bd46a876a7219ee4a9347f4
Skip to content

Commit 0c6427d

Browse files
authored
PEP 8: Change requirement to adhere to Standard English (#1470)
Instead of requiring that comments be written in Strunk & White Standard English, require instead that English-language comments be clear and easily understandable by other English speakers. This accomplishes the same goal without upholding relics of white supremacy. Many native English speakers do not use Standard English as their native dialect, so requiring conformation to Standard English centers whiteness in an inappropriate and unnecessary way, and can alienate and put up barriers for people of color and those whose native dialect of English is not Standard English. This change is a simple way to correct that while maintaining the original intent of the requirement.
1 parent 1fa2817 commit 0c6427d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎pep-0008.txt‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,8 @@ complete sentences, with each sentence ending in a period.
728728
You should use two spaces after a sentence-ending period in multi-
729729
sentence comments, except after the final sentence.
730730

731-
When writing English, follow Strunk and White.
731+
Ensure that your comments are clear and easily understandable to other
732+
speakers of the language you are writing in.
732733

733734
Python coders from non-English speaking countries: please write your
734735
comments in English, unless you are 120% sure that the code will never

0 commit comments

Comments
 (0)