[Python-checkins] cpython (merge 3.3 -> default): Issue #18164: merge from 3.3

ned.deily python-checkins at python.org
Mon Jun 24 23:24:14 CEST 2013


http://hg.python.org/cpython/rev/262689e0fa2a
changeset:   84324:262689e0fa2a
parent:      84321:c75ab7b802df
parent:      84323:4a114b0db866
user:        Ned Deily <nad at acm.org>
date:        Mon Jun 24 14:23:35 2013 -0700
summary:
  Issue #18164: merge from 3.3

files:
  Doc/extending/embedding.rst |  4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Doc/extending/embedding.rst b/Doc/extending/embedding.rst
--- a/Doc/extending/embedding.rst
+++ b/Doc/extending/embedding.rst
@@ -307,11 +307,13 @@
 to find its location) and compilation
 options.  In this case, the :mod:`sysconfig` module is a useful tool to
 programmatically extract the configuration values that you will want to
-combine together:
+combine together.  For example:
 
 .. code-block:: python
 
    >>> import sysconfig
+   >>> sysconfig.get_config_var('LIBS')
+   '-lpthread -ldl  -lutil'
    >>> sysconfig.get_config_var('LINKFORSHARED')
    '-Xlinker -export-dynamic'
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list