aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-04-22 01:29:53 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-04-22 01:32:11 +0800
commit24c34df04f41d899ba7077bb9d86ba157defaded (patch)
tree02128096d4dc48461f2dc7f9e7484e594af56eb3 /chapter08
parent0739fa74da74f8b9e3c33745c7d8f68fed078466 (diff)
Revert "Fix a header file in python, so that #include <python3.9/Python.h> works."
This reverts commit 2772bb9c30d8bc9fe97405cf6135c7b43ac0aa16. Python maintainers rejects the proposed fix in https://bugs.python.org/issue39026. We'll need to make a correct fix, or patch the downstream packages instead.
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/python.xml4
1 files changed, 0 insertions, 4 deletions
diff --git a/chapter08/python.xml b/chapter08/python.xml
index 27384e94c..b71822b9b 100644
--- a/chapter08/python.xml
+++ b/chapter08/python.xml
@@ -42,10 +42,6 @@
<sect2 role="installation">
<title>Installation of Python 3</title>
- <para>First, a header file needs to be fixed:</para>
-
-<screen><userinput remap="pre">sed 's|cpython/||' -i Include/cpython/pystate.h</userinput></screen>
-
<para>Prepare Python for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \