Skip to content

Commit f7e840a

Browse files
committed
Review edits of compiler_flags.rst
1 parent b813de5 commit f7e840a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

doc/sphinx/source/compiler_flags.rst

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ Programmatically from Within a Python Process
4747

4848
The ``sysconfig`` module contains information about the build environment for the particular version of Python:
4949

50-
.. code-block:: bash
51-
52-
$ python3
53-
Python 3.13.0b3 (v3.13.0b3:7b413952e8, Jun 27 2024, 09:57:31) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
54-
Type "help", "copyright", "credits" or "license" for more information.
55-
>>>
56-
5750
.. code-block:: python
5851
5952
>>> import sysconfig
@@ -244,3 +237,5 @@ This looks something like this (wrapped for clarity and replaced user with <USER
244237
-Wno-unused-variable -Wno-unused-parameter -fexceptions \
245238
-Wno-c99-extensions -Wno-c++11-extensions -O0 -g3 -ggdb \
246239
-Wno-unused-function
240+
241+
This would be fairly easy to parse, perhaps by ``setup.py``.

0 commit comments

Comments
 (0)