diff options
| author | Georg Brandl <georg@python.org> | 2008-09-13 17:41:16 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2008-09-13 17:41:16 +0000 |
| commit | 9af9498c6e59aa9efe0370bcc476307b4c30c06c (patch) | |
| tree | c8b5dee5200abd38af016b0e13fb93410e1b550b /Doc/extending | |
| parent | f2a2c796e37f888a254d7e2af8e4bc0dc0899530 (diff) | |
| download | cpython-git-9af9498c6e59aa9efe0370bcc476307b4c30c06c.tar.gz | |
Remove things specific to the old Macintosh, and spell "Mac OS X" consistently.
Diffstat (limited to 'Doc/extending')
| -rw-r--r-- | Doc/extending/embedding.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/extending/embedding.rst b/Doc/extending/embedding.rst index 95a30fef9f..b89e224ff1 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 |
