mirror of
https://github.com/python/cpython.git
synced 2025-10-03 21:55:41 +00:00
Remove things specific to the old Macintosh, and spell "Mac OS X" consistently.
This commit is contained in:
parent
f2a2c796e3
commit
9af9498c6e
34 changed files with 189 additions and 205 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue