Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e7b47dd

Browse files
committed
Fix typo in embedding doc and update examples to 3.4.
2 parents 9ffe85e + ecf0851 commit e7b47dd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/extending/embedding.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,14 +285,14 @@ be directly useful to you:
285285
* ``pythonX.Y-config --cflags`` will give you the recommended flags when
286286
compiling::
287287

288-
$ /opt/bin/python3.2-config --cflags
289-
-I/opt/include/python3.2m -I/opt/include/python3.2m -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
288+
$ /opt/bin/python3.4-config --cflags
289+
-I/opt/include/python3.4m -I/opt/include/python3.4m -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
290290

291291
* ``pythonX.Y-config --ldflags`` will give you the recommended flags when
292292
linking::
293293

294-
$ /opt/bin/python3.2-config --ldflags
295-
-I/opt/lib/python3.2/config-3.2m -lpthread -ldl -lutil -lm -lpython3.2m -Xlinker -export-dynamic
294+
$ /opt/bin/python3.4-config --ldflags
295+
-L/opt/lib/python3.4/config-3.4m -lpthread -ldl -lutil -lm -lpython3.4m -Xlinker -export-dynamic
296296

297297
.. note::
298298
To avoid confusion between several Python installations (and especially

0 commit comments

Comments
 (0)