Skip to content

Commit e3a44f3

Browse files
authored
PEP 12: Update whitespace conventions to match current practice (#2374)
1 parent f373d8b commit e3a44f3

File tree

2 files changed

+3
-35
lines changed

2 files changed

+3
-35
lines changed

pep-0012.rst

+3-24
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,6 @@ directions below.
143143
- Update your Footnotes section, listing any footnotes and
144144
non-inline link targets referenced by the text.
145145

146-
- Leave the Emacs stanza at the end of this file alone, including the
147-
formfeed character ("^L", or ``\f``).
148-
149146
- Create a pull request against the https://github.com/python/peps
150147
repository.
151148

@@ -185,14 +182,9 @@ illustrate the plaintext markup.
185182
General
186183
-------
187184

188-
You must adhere to the Emacs convention of adding two spaces at the
189-
end of every sentence. You should fill your paragraphs to column 70,
190-
but under no circumstances should your lines extend past column 79.
191-
If your code samples spill over column 79, you should rewrite them.
192-
193-
Tab characters must never appear in the document at all. A PEP should
194-
include the standard Emacs stanza included by example at the bottom of
195-
this PEP.
185+
Lines should usually not extend past column 79,
186+
excepting URLs and similar circumstances.
187+
Tab characters must never appear in the document at all.
196188

197189

198190
Section Headings
@@ -606,8 +598,6 @@ visible in the processed document. For example:
606598
This section should be updated in the final PEP.
607599
Ensure the date is accurate.
608600
609-
The Emacs stanza at the bottom of this document is inside a comment.
610-
611601
612602
Escaping Mechanism
613603
------------------
@@ -690,14 +680,3 @@ Copyright
690680

691681
This document is placed in the public domain or under the
692682
CC0-1.0-Universal license, whichever is more permissive.
693-
694-
695-
696-
..
697-
Local Variables:
698-
mode: indented-text
699-
indent-tabs-mode: nil
700-
sentence-end-double-space: t
701-
fill-column: 70
702-
coding: utf-8
703-
End:

pep-0012/pep-NNNN.rst

-11
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,3 @@ Copyright
8787

8888
This document is placed in the public domain or under the
8989
CC0-1.0-Universal license, whichever is more permissive.
90-
91-
92-
93-
..
94-
Local Variables:
95-
mode: indented-text
96-
indent-tabs-mode: nil
97-
sentence-end-double-space: t
98-
fill-column: 70
99-
coding: utf-8
100-
End:

0 commit comments

Comments
 (0)