pep-0425 edits
This commit is contained in:
parent
ffbc22c7cb
commit
6808f0b1e1
11
pep-0425.txt
11
pep-0425.txt
|
@ -70,9 +70,8 @@ Details
|
|||
Python Tag
|
||||
----------
|
||||
|
||||
The Python tag indicates both the implementation and the language version
|
||||
required by a distribution. Major implementations have abbreviated
|
||||
codes, initially:
|
||||
The Python tag indicates the implementation and version required by
|
||||
a distribution. Major implementations have abbreviated codes, initially:
|
||||
|
||||
* py: Generic Python (does not require implementation-specific features)
|
||||
* cp: CPython
|
||||
|
@ -82,8 +81,10 @@ codes, initially:
|
|||
|
||||
Other Python implementations should use `sys.implementation.name`.
|
||||
|
||||
The language version is `py_version_nodot`. CPython gets away with no dot,
|
||||
but if one is needed the underscore `_` is used instead.
|
||||
The version is `py_version_nodot`. CPython gets away with no dot, but
|
||||
if one is needed the underscore `_` is used instead. Pypy uses versions that
|
||||
do not track the Python language version and should probably use its own
|
||||
versions here `pp18`, `pp19`.
|
||||
|
||||
The version can be just the major version `2` or `3` `py2`, `py3` for
|
||||
many pure-Python distributions.
|
||||
|
|
Loading…
Reference in New Issue