8000 [3.13] Docs: Update two FAQs for Python 3 (GH-124247) (#124258) · python/cpython@afeb7a4 · GitHub
[go: up one dir, main page]

Skip to content

Commit afeb7a4

Browse files
hugovkAlexWaygood
andauthored
[3.13] Docs: Update two FAQs for Python 3 (GH-124247) (#124258)
Docs: Update two FAQs for Python 3 (#124247) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> (cherry picked from commit 5f01111)
1 parent 3b20303 commit afeb7a4

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Doc/faq/extending.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,12 @@ Then, when you run GDB:
246246
I want to compile a Python module on my Linux system, but some files are missing. Why?
247247
--------------------------------------------------------------------------------------
248248

249-
Most packaged versions of Python don't include the
250-
:file:`/usr/lib/python2.{x}/config/` directory, which contains various files
249+
Most packaged versions of Python omit some files
251250
required for compiling Python extensions.
252251

253-
For Red Hat, install the python-devel RPM to get the necessary files.
252+
For Red Hat, install the python3-devel RPM to get the necessary files.
254253

255-
For Debian, run ``apt-get install python-dev``.
254+
For Debian, run ``apt-get install python3-dev``.
256255

257256
How do I tell "incomplete input" from "invalid input"?
258257
------------------------------------------------------

Doc/faq/general.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,10 +309,10 @@ guaranteed that interfaces will remain the same throughout a series of bugfix
309309
releases.
310310

311311
The latest stable releases can always be found on the `Python download page
312-
<https://www.python.org/downloads/>`_. There are two production-ready versions
313-
of Python: 2.x and 3.x. The recommended version is 3.x, which is supported by
314-
most widely used libraries. Although 2.x is still widely used, :pep:`it is not
315-
maintained anymore <0373>`.
312+
<https://www.python.org/downloads/>`_.
313+
Python 3.x is the recommended version and supported by most widely used libraries.
314+
Python 2.x :pep:`is not maintained anymore <373>`.
315+
316316

317317
How many people are using Python?
318318
---------------------------------

0 commit comments

Comments
 (0)
0