@@ -150,11 +150,9 @@ If you want to install these optional dependencies, consult the
150150If you don't need to install them, the basic steps for building Python
151151for development is to configure it and then compile it.
152152
153- Configuration is typically:
153+ Configuration is typically::
154154
155- .. code-block :: bash
156-
157- ./configure --with-pydebug
155+ $ ./configure --with-pydebug
158156
159157More flags are available to ``configure ``, but this is the minimum you should
160158do to get a pydebug build of CPython.
@@ -163,11 +161,9 @@ do to get a pydebug build of CPython.
163161 You might need to run ``make clean `` before or after re-running ``configure ``
164162 in a particular build directory.
165163
166- Once ``configure `` is done, you can then compile CPython with:
167-
168- .. code-block :: bash
164+ Once ``configure `` is done, you can then compile CPython with::
169165
170- make -s -j2
166+ $ make -s -j2
171167
172168This will build CPython with only warnings and errors being printed to
173169stderr and utilize up to 2 CPU cores. If you are using a multi-core machine
@@ -465,11 +461,9 @@ Python's ``configure.ac`` script typically requires a specific version of
465461Autoconf. At the moment, this reads: ``AC_PREREQ(2.69) ``. It also requires
466462to have the ``autoconf-archive `` and ``pkg-config `` utilities installed in
467463the system and the ``pkg.m4 `` macro file located in the appropriate ``alocal ``
468- location. You can easily check if this is correctly configured by running:
464+ location. You can easily check if this is correctly configured by running::
469465
470- .. code-block :: bash
471-
472- ls $( aclocal --print-ac-dir) | grep pkg.m4
466+ $ ls $(aclocal --print-ac-dir) | grep pkg.m4
473467
474468If the system copy of Autoconf does not match this version, you will need to
475469install your own copy of Autoconf.
@@ -501,9 +495,7 @@ Make target. Note that for doing this you need to regenerate the ABI file in
501495the same environment that the GitHub CI uses to check for it. This is because
502496different platforms may include some platform-specific details that make the
503497check fail even if the Python ABI is the same. The easier way to regenerate
504- the ABI file using the same platform as the CI uses is by using docker:
505-
506- .. code-block :: bash
498+ the ABI file using the same platform as the CI uses is by using Docker::
507499
508500 # In the CPython root:
509501 $ docker run -v$(pwd):/src:Z -w /src --rm -it ubuntu:22.04 \
0 commit comments