Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

.. _configure-options:

Configure Options
Expand Down Expand Up @@ -587,7 +589,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 @@ -652,7 +656,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 @@ -664,7 +670,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