Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7aeba45

Browse files
committed
Updated the Mac documentation to the current state of affairs.
1 parent 90975f1 commit 7aeba45

12 files changed

Lines changed: 199 additions & 384 deletions

Doc/mac/libaepack.tex

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ \section{\module{aepack} ---
1212
The \module{aepack} module defines functions for converting (packing)
1313
Python variables to AppleEvent descriptors and back (unpacking).
1414
Within Python the AppleEvent descriptor is handled by Python objects
15-
of built-in type \pytype{AEDesc}, defined in module \refmodule{AE}.
15+
of built-in type \class{AEDesc}, defined in module \refmodule{AE}.
1616

1717
The \module{aepack} module defines the following functions:
1818

@@ -25,21 +25,20 @@ \section{\module{aepack} ---
2525

2626
\begin{tableii}{l|l}{textrm}{Python type}{descriptor type}
2727
\lineii{\class{FSSpec}}{typeFSS}
28+
\lineii{\class{FSRef}}{typeFSRef}
2829
\lineii{\class{Alias}}{typeAlias}
2930
\lineii{integer}{typeLong (32 bit integer)}
3031
\lineii{float}{typeFloat (64 bit floating point)}
3132
\lineii{string}{typeText}
33+
\lineii{unicode}{typeUnicodeText}
3234
\lineii{list}{typeAEList}
3335
\lineii{dictionary}{typeAERecord}
3436
\lineii{instance}{\emph{see below}}
3537
\end{tableii}
3638

37-
\pytype{FSSpec} and \pytype{Alias} are built-in object types defined
38-
in the module \refmodule{macfs}.
39-
4039
If \var{x} is a Python instance then this function attempts to call an
4140
\method{__aepack__()} method. This method should return an
42-
\pytype{AE.AEDesc} object.
41+
\class{AE.AEDesc} object.
4342

4443
If the conversion \var{x} is not defined above, this function returns
4544
the Python string representation of a value (the repr() function)

Doc/mac/libctb.tex

Lines changed: 0 additions & 159 deletions
This file was deleted.

Doc/mac/libmac.tex

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ \section{\module{mac} ---
66
\modulesynopsis{Implementations for the \module{os} module.}
77

88

9-
This module implements the operating system dependent functionality
9+
This module implements the Mac OS 9 operating system dependent functionality
1010
provided by the standard module \module{os}\refstmodindex{os}. It is
11-
best accessed through the \module{os} module.
11+
best accessed through the \module{os} module. This module is only available in
12+
MacPython-OS9, on MacPython-OSX \module{posix} is used.
1213

1314
The following functions are available in this module:
1415
\function{chdir()},
@@ -29,23 +30,7 @@ \section{\module{mac} ---
2930
\function{write()},
3031
as well as the exception \exception{error}. Note that the times
3132
returned by \function{stat()} are floating-point values, like all time
32-
values in MacPython.
33-
34-
One additional function is available, but only under Classic MacPython,
35-
not under Carbon MacPython:
36-
37-
\begin{funcdesc}{xstat}{path}
38-
This function returns the same information as \function{stat()}, but
39-
with three additional values appended: the size of the resource fork
40-
of the file and its 4-character creator and type.
41-
Availability: Classic MacPython only.
42-
\deprecated{2.3}{Use the \function{\refmodule{macfs}.FSSpec()}
43-
function to get an FSSpec object for the file, then
44-
use the \method{GetCreatorType()} method to get the
45-
creator and type information. It will no longer be
46-
possible to get the size of the resource fork.}
47-
\end{funcdesc}
48-
33+
values in MacPython-OS9.
4934

5035
\section{\module{macpath} ---
5136
MacOS path manipulation functions}

0 commit comments

Comments
 (0)