mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Update references specifying "Macintosh" to mean OS X semantics and not Mac OS
9. Applies patch #1095802. Thanks Jack Jansen.
This commit is contained in:
parent
22c0706a58
commit
7706c2da14
17 changed files with 191 additions and 622 deletions
|
@ -239,9 +239,8 @@
|
|||
program name (set by \cfunction{Py_SetProgramName()} above) and some
|
||||
environment variables. The returned string consists of a series of
|
||||
directory names separated by a platform dependent delimiter
|
||||
character. The delimiter character is \character{:} on \UNIX,
|
||||
\character{;} on Windows, and \character{\e n} (the \ASCII{}
|
||||
newline character) on Macintosh. The returned string points into
|
||||
character. The delimiter character is \character{:} on \UNIX and Mac OS X,
|
||||
\character{;} on Windows. The returned string points into
|
||||
static storage; the caller should not modify its value. The value
|
||||
is available to Python code as the list
|
||||
\code{sys.path}\withsubitem{(in module sys)}{\ttindex{path}}, which
|
||||
|
@ -272,7 +271,7 @@
|
|||
this is formed from the ``official'' name of the operating system,
|
||||
converted to lower case, followed by the major revision number;
|
||||
e.g., for Solaris 2.x, which is also known as SunOS 5.x, the value
|
||||
is \code{'sunos5'}. On Macintosh, it is \code{'mac'}. On Windows,
|
||||
is \code{'sunos5'}. On Mac OS X, it is \code{'darwin'}. On Windows,
|
||||
it is \code{'win'}. The returned string points into static storage;
|
||||
the caller should not modify its value. The value is available to
|
||||
Python code as \code{sys.platform}.
|
||||
|
|
|
@ -34,7 +34,7 @@ values from C values.
|
|||
Return true when the interpreter runs out of stack space. This is a
|
||||
reliable check, but is only available when \constant{USE_STACKCHECK}
|
||||
is defined (currently on Windows using the Microsoft Visual \Cpp{}
|
||||
compiler and on the Macintosh). \constant{USE_CHECKSTACK} will be
|
||||
compiler). \constant{USE_CHECKSTACK} will be
|
||||
defined automatically; you should never change the definition in
|
||||
your own code.
|
||||
\end{cfuncdesc}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue