diff options
author | Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 2024-09-19 18:50:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-19 18:50:05 (GMT) |
commit | 5f011115943933ff36adf997c886d73ea88003fb (patch) | |
tree | bf72d5963d29ab1d78e04bd29b55ad01e5b70242 /Doc | |
parent | 992e8f6102e317b4967a762fbefea82f9fcf9dfb (diff) | |
download | cpython-5f011115943933ff36adf997c886d73ea88003fb.zip cpython-5f011115943933ff36adf997c886d73ea88003fb.tar.gz cpython-5f011115943933ff36adf997c886d73ea88003fb.tar.bz2 |
Docs: Update two FAQs for Python 3 (#124247)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/faq/extending.rst | 7 | ||||
-rw-r--r-- | Doc/faq/general.rst | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/Doc/faq/extending.rst b/Doc/faq/extending.rst index 1cff2c4..3147fda 100644 --- a/Doc/faq/extending.rst +++ b/Doc/faq/extending.rst @@ -246,13 +246,12 @@ Then, when you run GDB: I want to compile a Python module on my Linux system, but some files are missing. Why? -------------------------------------------------------------------------------------- -Most packaged versions of Python don't include the -:file:`/usr/lib/python2.{x}/config/` directory, which contains various files +Most packaged versions of Python omit some files required for compiling Python extensions. -For Red Hat, install the python-devel RPM to get the necessary files. +For Red Hat, install the python3-devel RPM to get the necessary files. -For Debian, run ``apt-get install python-dev``. +For Debian, run ``apt-get install python3-dev``. How do I tell "incomplete input" from "invalid input"? ------------------------------------------------------ diff --git a/Doc/faq/general.rst b/Doc/faq/general.rst index 31df5eb..578777d 100644 --- a/Doc/faq/general.rst +++ b/Doc/faq/general.rst @@ -309,10 +309,9 @@ guaranteed that interfaces will remain the same throughout a series of bugfix releases. The latest stable releases can always be found on the `Python download page -<https://www.python.org/downloads/>`_. There are two production-ready versions -of Python: 2.x and 3.x. The recommended version is 3.x, which is supported by -most widely used libraries. Although 2.x is still widely used, :pep:`it is not -maintained anymore <0373>`. +<https://www.python.org/downloads/>`_. +Python 3.x is the recommended version and supported by most widely used libraries. +Python 2.x :pep:`is not maintained anymore <373>`. How many people are using Python? --------------------------------- |