diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-08-08 00:01:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-08 00:01:49 +0000 |
commit | 4507a6bd1f1471c5f4b20674d9df915ec386c4b1 (patch) | |
tree | ad530efadc88c245294ff6e6ce044605687e2469 /doc | |
parent | c1b4143943d28d99459793a64f8c2bd362764aec (diff) | |
parent | 9f27c36e18b5221650a6292c2deb1e893d72afce (diff) |
Merge master into staging-next
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/python.section.md | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index c8a902c1b0eb8..d171e84191882 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -997,13 +997,18 @@ and in this case the `python3` interpreter is automatically used. ### Interpreters {#interpreters} -Versions 2.7, 3.8, 3.9, 3.10 and 3.11 of the CPython interpreter are available -as respectively `python27`, `python38`, `python39`, `python310` and `python311`. -The aliases `python2` and `python3` correspond to respectively `python27` and -`python310`. The attribute `python` maps to `python2`. The PyPy interpreters -compatible with Python 2.7 and 3 are available as `pypy27` and `pypy3`, with -aliases `pypy2` mapping to `pypy27` and `pypy` mapping to `pypy2`. The Nix -expressions for the interpreters can be found in +| Package | Aliases | Interpreter | +|------------|-----------------|-------------| +| python27 | python2, python | CPython 2.7 | +| python38 | | CPython 3.8 | +| python39 | | CPython 3.9 | +| python310 | python3 | CPython 3.10 | +| python311 | | CPython 3.11 | +| python312 | | CPython 3.12 | +| pypy27 | pypy2, pypy | PyPy2.7 | +| pypy39 | pypy3 | PyPy 3.9 | + +The Nix expressions for the interpreters can be found in `pkgs/development/interpreters/python`. All packages depending on any Python interpreter get appended |