python docs: update another incorrect claim regarding default interpreter

This commit is contained in:
Frederik Rietdijk 2021-03-13 14:14:06 +01:00
parent a9faf404c8
commit a6a9548a32

View File

@ -763,10 +763,10 @@ and in this case the `python38` interpreter is automatically used.
Versions 2.7, 3.6, 3.7, 3.8 and 3.9 of the CPython interpreter are available as Versions 2.7, 3.6, 3.7, 3.8 and 3.9 of the CPython interpreter are available as
respectively `python27`, `python36`, `python37`, `python38` and `python39`. The respectively `python27`, `python36`, `python37`, `python38` and `python39`. The
aliases `python2` and `python3` correspond to respectively `python27` and aliases `python2` and `python3` correspond to respectively `python27` and
`python38`. The default interpreter, `python`, maps to `python2`. The PyPy `python39`. The attribute `python` maps to `python2`. The PyPy interpreters
interpreters compatible with Python 2.7 and 3 are available as `pypy27` and compatible with Python 2.7 and 3 are available as `pypy27` and `pypy3`, with
`pypy3`, with aliases `pypy2` mapping to `pypy27` and `pypy` mapping to `pypy2`. aliases `pypy2` mapping to `pypy27` and `pypy` mapping to `pypy2`. The Nix
The Nix expressions for the interpreters can be found in expressions for the interpreters can be found in
`pkgs/development/interpreters/python`. `pkgs/development/interpreters/python`.
All packages depending on any Python interpreter get appended All packages depending on any Python interpreter get appended