summary refs log tree commit diff
path: root/doc/languages-frameworks/python.section.md
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2021-03-13 14:11:31 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2021-03-13 14:11:31 +0100
commita9faf404c89d682255accbd108bdc28dc45db526 (patch)
tree38b3b96c0c12a8a7b30ca420a2e6d7054ed30eac /doc/languages-frameworks/python.section.md
parent7617b03403acd7d74f8e4f21ed791543ad14bfe9 (diff)
downloadnixpkgs-a9faf404c89d682255accbd108bdc28dc45db526.tar
nixpkgs-a9faf404c89d682255accbd108bdc28dc45db526.tar.gz
nixpkgs-a9faf404c89d682255accbd108bdc28dc45db526.tar.bz2
nixpkgs-a9faf404c89d682255accbd108bdc28dc45db526.tar.lz
nixpkgs-a9faf404c89d682255accbd108bdc28dc45db526.tar.xz
nixpkgs-a9faf404c89d682255accbd108bdc28dc45db526.tar.zst
nixpkgs-a9faf404c89d682255accbd108bdc28dc45db526.zip
python docs: fix note regarding default interpreter
Diffstat (limited to 'doc/languages-frameworks/python.section.md')
-rw-r--r--doc/languages-frameworks/python.section.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index ff039b5e638..9dee2d2533c 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -7,8 +7,9 @@
 #### Overview
 
 Several versions of the Python interpreter are available on Nix, as well as a
-high amount of packages. The attribute `python` refers to the default
-interpreter, which is currently CPython 2.7. It is also possible to refer to
+high amount of packages. The attribute `python3` refers to the default
+interpreter, which is currently CPython 3.8. The attribute `python` refers to
+CPython 2.7 for backwards-compatibility. It is also possible to refer to
 specific versions, e.g. `python38` refers to CPython 3.8, and `pypy` refers to
 the default PyPy interpreter.