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
|
Python Tag
|
||||||
----------
|
----------
|
||||||
|
|
||||||
The Python tag indicates both the implementation and the language version
|
The Python tag indicates the implementation and version required by
|
||||||
required by a distribution. Major implementations have abbreviated
|
a distribution. Major implementations have abbreviated codes, initially:
|
||||||
codes, initially:
|
|
||||||
|
|
||||||
* py: Generic Python (does not require implementation-specific features)
|
* py: Generic Python (does not require implementation-specific features)
|
||||||
* cp: CPython
|
* cp: CPython
|
||||||
|
@ -82,8 +81,10 @@ codes, initially:
|
||||||
|
|
||||||
Other Python implementations should use `sys.implementation.name`.
|
Other Python implementations should use `sys.implementation.name`.
|
||||||
|
|
||||||
The language version is `py_version_nodot`. CPython gets away with no dot,
|
The version is `py_version_nodot`. CPython gets away with no dot, but
|
||||||
but if one is needed the underscore `_` is used instead.
|
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
|
The version can be just the major version `2` or `3` `py2`, `py3` for
|
||||||
many pure-Python distributions.
|
many pure-Python distributions.
|
||||||
|
|
Loading…
Reference in New Issue