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

Skip to content

Commit 59d8b73

Browse files
committed
Remove all references to posixpath; only refer to os.path.
Formalize the xstat() documentation.
1 parent 2e9e0df commit 59d8b73

1 file changed

Lines changed: 17 additions & 20 deletions

File tree

Doc/mac/libmac.tex

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,15 @@ \section{Introduction}
4040

4141

4242
\section{\module{mac} ---
43-
Similar interfaces to the \module{posix} module.}
43+
Implementations for the \module{os} module}
4444
\declaremodule{builtin}{mac}
4545

46-
\modulesynopsis{Similar interfaces to the \module{posix} module.}
46+
\modulesynopsis{Implementations for the \module{os} module.}
4747

4848

49-
This module provides a subset of the operating system dependent
50-
functionality provided by the optional built-in module \module{posix}.
51-
It is best accessed through the more portable standard module
52-
\module{os}.
53-
\refbimodindex{posix}
54-
\refstmodindex{os}
49+
This module implements the operating system dependent functionality
50+
provided by the standard module \module{os}\refstmodindex{os}. It is
51+
best accessed through the \module{os} module.
5552

5653
The following functions are available in this module:
5754
\function{chdir()},
@@ -74,25 +71,25 @@ \section{\module{mac} ---
7471
returned by \function{stat()} are floating-point values, like all time
7572
values in MacPython.
7673

77-
One additional function is available: \function{xstat()}. This function
78-
returns the same information as \function{stat()}, but with three extra
79-
values appended: the size of the resource fork of the file and its
80-
4-character creator and type.
74+
One additional function is available:
75+
76+
\begin{funcdesc}{xstat}{path}
77+
This function returns the same information as \function{stat()}, but
78+
with three additional values appended: the size of the resource fork
79+
of the file and its 4-character creator and type.
80+
\end{funcdesc}
8181

8282

8383
\section{\module{macpath} ---
84-
MacOS path manipulation functions.}
84+
MacOS path manipulation functions}
8585
\declaremodule{standard}{macpath}
8686

8787
\modulesynopsis{MacOS path manipulation functions.}
8888

8989

90-
This module provides a subset of the pathname manipulation functions
91-
available from the optional standard module \module{posixpath}. It is
92-
best accessed through the more portable standard module \module{os}, as
93-
\code{os.path}.
94-
\refstmodindex{posixpath}
95-
\refstmodindex{os}
90+
This module is the Macintosh implementation of the \module{os.path}
91+
module. It is most portably accessed as \module{os.path}.
92+
\refstmodindex{os.path}
9693

9794
The following functions are available in this module:
9895
\function{normcase()},
@@ -104,5 +101,5 @@ \section{\module{macpath} ---
104101
\function{isfile()},
105102
\function{walk()},
106103
\function{exists()}.
107-
For other functions available in \module{posixpath} dummy counterparts
104+
For other functions available in \module{os.path} dummy counterparts
108105
are available.

0 commit comments

Comments
 (0)