Skip to content

Commit 2c72b51

Browse files
committed
Issue python#18164: merge from 3.3
2 parents 7176577 + 51cee7d commit 2c72b51

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Doc/extending/embedding.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,11 +307,13 @@ examine Python's :file:`Makefile` (use :func:`sysconfig.get_makefile_filename`
307307
to find its location) and compilation
308308
options. In this case, the :mod:`sysconfig` module is a useful tool to
309309
programmatically extract the configuration values that you will want to
310-
combine together:
310+
combine together. For example:
311311

312312
.. code-block:: python
313313
314314
>>> import sysconfig
315+
>>> sysconfig.get_config_var('LIBS')
316+
'-lpthread -ldl -lutil'
315317
>>> sysconfig.get_config_var('LINKFORSHARED')
316318
'-Xlinker -export-dynamic'
317319

0 commit comments

Comments
 (0)