From: Ned Deily Date: Mon, 27 May 2013 01:57:00 +0000 (-0700) Subject: Fix typo in embedding doc and update examples to 3.4. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7b47dda645938469e764e1ca3a1fab746f7540f;p=python Fix typo in embedding doc and update examples to 3.4. --- e7b47dda645938469e764e1ca3a1fab746f7540f diff --cc Doc/extending/embedding.rst index 9761e25e40,c68aff88ed..3754380af8 --- a/Doc/extending/embedding.rst +++ b/Doc/extending/embedding.rst @@@ -285,14 -285,14 +285,14 @@@ be directly useful to you * ``pythonX.Y-config --cflags`` will give you the recommended flags when compiling:: - $ /opt/bin/python3.2-config --cflags - -I/opt/include/python3.2m -I/opt/include/python3.2m -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes - $ /opt/bin/python3.3-config --cflags - -I/opt/include/python3.3m -I/opt/include/python3.3m -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes ++ $ /opt/bin/python3.4-config --cflags ++ -I/opt/include/python3.4m -I/opt/include/python3.4m -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes * ``pythonX.Y-config --ldflags`` will give you the recommended flags when linking:: - $ /opt/bin/python3.2-config --ldflags - -I/opt/lib/python3.2/config-3.2m -lpthread -ldl -lutil -lm -lpython3.2m -Xlinker -export-dynamic - $ /opt/bin/python3.3-config --ldflags - -L/opt/lib/python3.3/config-3.3m -lpthread -ldl -lutil -lm -lpython3.3m -Xlinker -export-dynamic ++ $ /opt/bin/python3.4-config --ldflags ++ -L/opt/lib/python3.4/config-3.4m -lpthread -ldl -lutil -lm -lpython3.4m -Xlinker -export-dynamic .. note:: To avoid confusion between several Python installations (and especially