File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 2
2
Configure Python
3
3
****************
4
4
5
+ .. highlight :: sh
6
+
5
7
.. _configure-options :
6
8
7
9
Configure Options
@@ -587,7 +589,9 @@ the version of the cross compiled host Python.
587
589
588
590
An environment variable that points to a file with configure overrides.
589
591
590
- Example *config.site * file::
592
+ Example *config.site * file:
593
+
594
+ .. code-block :: ini
591
595
592
596
# config.site-aarch64
593
597
ac_cv_buggy_getaddrinfo =no
@@ -652,7 +656,9 @@ C extensions
652
656
653
657
Some C extensions are built as built-in modules, like the ``sys `` module.
654
658
They are built with the ``Py_BUILD_CORE_BUILTIN `` macro defined.
655
- Built-in modules have no ``__file__ `` attribute::
659
+ Built-in modules have no ``__file__ `` attribute:
660
+
661
+ .. code-block :: pycon
656
662
657
663
>>> import sys
658
664
>>> sys
@@ -664,7 +670,9 @@ Built-in modules have no ``__file__`` attribute::
664
670
665
671
Other C extensions are built as dynamic libraries, like the ``_asyncio `` module.
666
672
They are built with the ``Py_BUILD_CORE_MODULE `` macro defined.
667
- Example on Linux x86-64::
673
+ Example on Linux x86-64:
674
+
675
+ .. code-block :: pycon
668
676
669
677
>>> import _asyncio
670
678
>>> _asyncio
You can’t perform that action at this time.
0 commit comments