mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Updated the Mac documentation to the current state of affairs.
This commit is contained in:
parent
90975f1ff9
commit
7aeba45b84
12 changed files with 199 additions and 384 deletions
|
@ -6,9 +6,10 @@
|
|||
\modulesynopsis{Implementations for the \module{os} module.}
|
||||
|
||||
|
||||
This module implements the operating system dependent functionality
|
||||
This module implements the Mac OS 9 operating system dependent functionality
|
||||
provided by the standard module \module{os}\refstmodindex{os}. It is
|
||||
best accessed through the \module{os} module.
|
||||
best accessed through the \module{os} module. This module is only available in
|
||||
MacPython-OS9, on MacPython-OSX \module{posix} is used.
|
||||
|
||||
The following functions are available in this module:
|
||||
\function{chdir()},
|
||||
|
@ -29,23 +30,7 @@ The following functions are available in this module:
|
|||
\function{write()},
|
||||
as well as the exception \exception{error}. Note that the times
|
||||
returned by \function{stat()} are floating-point values, like all time
|
||||
values in MacPython.
|
||||
|
||||
One additional function is available, but only under Classic MacPython,
|
||||
not under Carbon MacPython:
|
||||
|
||||
\begin{funcdesc}{xstat}{path}
|
||||
This function returns the same information as \function{stat()}, but
|
||||
with three additional values appended: the size of the resource fork
|
||||
of the file and its 4-character creator and type.
|
||||
Availability: Classic MacPython only.
|
||||
\deprecated{2.3}{Use the \function{\refmodule{macfs}.FSSpec()}
|
||||
function to get an FSSpec object for the file, then
|
||||
use the \method{GetCreatorType()} method to get the
|
||||
creator and type information. It will no longer be
|
||||
possible to get the size of the resource fork.}
|
||||
\end{funcdesc}
|
||||
|
||||
values in MacPython-OS9.
|
||||
|
||||
\section{\module{macpath} ---
|
||||
MacOS path manipulation functions}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue