summaryrefslogtreecommitdiffstats
path: root/Doc/extending
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-09-13 17:46:05 (GMT)
committerGeorg Brandl <georg@python.org>2008-09-13 17:46:05 (GMT)
commitc575c9064769d37ac9555b7cd2907c25ab030810 (patch)
tree8b15a940b50eba4b66a62a2610904efe88d94d18 /Doc/extending
parenta6fc212d2a2254ea2c3a6890bbb9b17cf0878529 (diff)
downloadcpython-c575c9064769d37ac9555b7cd2907c25ab030810.zip
cpython-c575c9064769d37ac9555b7cd2907c25ab030810.tar.gz
cpython-c575c9064769d37ac9555b7cd2907c25ab030810.tar.bz2
Merged revisions 66452 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r66452 | georg.brandl | 2008-09-13 19:41:16 +0200 (Sat, 13 Sep 2008) | 2 lines Remove things specific to the old Macintosh, and spell "Mac OS X" consistently. ........
Diffstat (limited to 'Doc/extending')
-rw-r--r--Doc/extending/embedding.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/extending/embedding.rst b/Doc/extending/embedding.rst
index 6ba2c67..c86ae8a 100644
--- a/Doc/extending/embedding.rst
+++ b/Doc/extending/embedding.rst
@@ -25,10 +25,9 @@ the Python interpreter to run some Python code.
So if you are embedding Python, you are providing your own main program. One of
the things this main program has to do is initialize the Python interpreter. At
-the very least, you have to call the function :cfunc:`Py_Initialize` (on Mac OS,
-call :cfunc:`PyMac_Initialize` instead). There are optional calls to pass
-command line arguments to Python. Then later you can call the interpreter from
-any part of the application.
+the very least, you have to call the function :cfunc:`Py_Initialize`. There are
+optional calls to pass command line arguments to Python. Then later you can
+call the interpreter from any part of the application.
There are several different ways to call the interpreter: you can pass a string
containing Python statements to :cfunc:`PyRun_SimpleString`, or you can pass a