8000 Strongly prefer reStructuredText. (#115) · python/peps@6efb70f · GitHub
[go: up one dir, main page]

Skip to content

Commit 6efb70f

Browse files
warsawncoghlan
authored andcommitted
Strongly prefer reStructuredText. (#115)
1 parent 278df31 commit 6efb70f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pep-0001.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ optional and are described below. All other headers are required. ::
368368
Status: <Draft | Active | Accepted | Deferred | Rejected |
369369
Withdrawn | Final | Superseded>
370370
Type: <Standards Track | Informational | Process>
371-
* Content-Type: <text/plain | text/x-rst>
371+
* Content-Type: <text/x-rst | text/plain>
372372
* Requires: <pep numbers>
373373
Created: <date created on, in dd-mmm-yyyy format>
374374
* Python-Version: <version number>
@@ -421,8 +421,9 @@ Informational, or Process.
421421
The format of a PEP is specified with a Content-Type header. The
422422
acceptable values are "text/plain" for plaintext PEPs (see PEP 9 [3]_)
423423
and "text/x-rst" for reStructuredText PEPs (see PEP 12 [4]_).
424-
Plaintext ("text/plain") is the default if no Content-Type header is
425-
present.
424+
reStructuredText is strongly preferred, but for backwards
425+
compatibility plain text is currently still the default if no
426+
Content-Type header is present.
426427

427428
The Created header records the date that the PEP was assigned a
428429
number, while Post-History is used to record the dates of when new

0 commit comments

Comments
 (0)
0