Skip to content

Commit

Permalink
Default to sh highlights, except 3 x ini and pycon
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Mar 3, 2024
1 parent cf9b141 commit b63054c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Doc/using/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Configure Python
****************

.. highlight:: sh

Build Requirements
==================

Expand Down Expand Up @@ -941,7 +943,9 @@ the version of the cross compiled host Python.

An environment variable that points to a file with configure overrides.

Example *config.site* file::
Example *config.site* file:

.. code-block:: ini
# config.site-aarch64
ac_cv_buggy_getaddrinfo=no
Expand Down Expand Up @@ -1019,7 +1023,9 @@ C extensions

Some C extensions are built as built-in modules, like the ``sys`` module.
They are built with the ``Py_BUILD_CORE_BUILTIN`` macro defined.
Built-in modules have no ``__file__`` attribute::
Built-in modules have no ``__file__`` attribute:

.. code-block:: pycon
>>> import sys
>>> sys
Expand All @@ -1031,7 +1037,9 @@ Built-in modules have no ``__file__`` attribute::
Other C extensions are built as dynamic libraries, like the ``_asyncio`` module.
They are built with the ``Py_BUILD_CORE_MODULE`` macro defined.
Example on Linux x86-64::
Example on Linux x86-64:

.. code-block:: pycon
>>> import _asyncio
>>> _asyncio
Expand Down

0 comments on commit b63054c

Please sign in to comment.