Movatterモバイル変換


[0]ホーム

URL:


Wayback Machine
6 captures
17 Oct 2020 - 30 Jan 2022
SepOCTMar
Previous capture17Next capture
201920202022
success
fail
TIMESTAMPS
loading
The Wayback Machine - https://web.archive.org/web/20201017223811/https://github.com/python/peps/blob/master/README.rst
Skip to content
Sign up
Sign in Sign up
Permalink
master

peps/README.rst

Go to file
 
 
Cannot retrieve contributors at this time
72 lines (50 sloc) 2.67 KB

Python Enhancement Proposals

https://travis-ci.org/python/peps.svg?branch=master

The PEPs in this repo are published automatically on the web athttp://www.python.org/dev/peps/. To learn more about the purpose ofPEPs and how to go about writing a PEP, please start reading at PEP 1(pep-0001.txt in this repo). Note that PEP 0, the index PEP, isnow automatically generated, and not committed to the repo.

Contributing to PEPs

See theContributing Guidelines.

reStructuredText for PEPs

Original PEP source should be written in reStructuredText format,which is a constrained version of plaintext, and is described inPEP 12. Older PEPs were often written in a more mildly restrictedplaintext format, as described in PEP 9. Thepep2html.pyprocessing and installation script knows how to produce the HTMLfor either PEP format.

For processing reStructuredText format PEPs, you need the docutilspackage, which is available fromPyPI.If you have pip,pip install docutils should install it.

Generating the PEP Index

PEP 0 is automatically generated based on the metadata headers in otherPEPs. The script handling this isgenpepindex.py, with supportinglibraries in thepep0 directory.

Checking PEP formatting and rendering

Do not commit changes with bad formatting. To check the formatting ofa PEP, use the Makefile. In particular, to generate HTML for PEP 999,your source code should be inpep-0999.rst and the HTML will begenerated topep-0999.html by the commandmake pep-0999.html.The default Make target generates HTML for all PEPs.

If you don't have Make, use thepep2html.py script directly.

Generating HTML for python.org

python.org includes its own helper modules to render PEPs as HTML, withsuitable links back to the source pages in the version control repository.

These can be found athttps://github.com/python/pythondotorg/tree/master/peps

When making changes to the PEP management process that may impact python.org'srendering pipeline:

You can’t perform that action at this time.

[8]ページ先頭

©2009-2025 Movatter.jp