summaryrefslogtreecommitdiffstats
path: root/Doc/mac
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-02-01 20:19:38 (GMT)
committerFred Drake <fdrake@acm.org>1999-02-01 20:19:38 (GMT)
commit59d8b73cef6c98d722859337657bcf2b22c0f6d0 (patch)
treebb9fdc3513873bbb5ea0bd5775e7d0fedb554d8d /Doc/mac
parent2e9e0dfca3b360f09183faf7db73c78e1ea27f3d (diff)
downloadcpython-59d8b73cef6c98d722859337657bcf2b22c0f6d0.zip
cpython-59d8b73cef6c98d722859337657bcf2b22c0f6d0.tar.gz
cpython-59d8b73cef6c98d722859337657bcf2b22c0f6d0.tar.bz2
Remove all references to posixpath; only refer to os.path.
Formalize the xstat() documentation.
Diffstat (limited to 'Doc/mac')
-rw-r--r--Doc/mac/libmac.tex37
1 files changed, 17 insertions, 20 deletions
diff --git a/Doc/mac/libmac.tex b/Doc/mac/libmac.tex
index a13efd0..05df394 100644
--- a/Doc/mac/libmac.tex
+++ b/Doc/mac/libmac.tex
@@ -40,18 +40,15 @@ The following modules are documented here:
\section{\module{mac} ---
- Similar interfaces to the \module{posix} module.}
+ Implementations for the \module{os} module}
\declaremodule{builtin}{mac}
-\modulesynopsis{Similar interfaces to the \module{posix} module.}
+\modulesynopsis{Implementations for the \module{os} module.}
-This module provides a subset of the operating system dependent
-functionality provided by the optional built-in module \module{posix}.
-It is best accessed through the more portable standard module
-\module{os}.
-\refbimodindex{posix}
-\refstmodindex{os}
+This module implements the operating system dependent functionality
+provided by the standard module \module{os}\refstmodindex{os}. It is
+best accessed through the \module{os} module.
The following functions are available in this module:
\function{chdir()},
@@ -74,25 +71,25 @@ 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: \function{xstat()}. This function
-returns the same information as \function{stat()}, but with three extra
-values appended: the size of the resource fork of the file and its
-4-character creator and type.
+One additional function is available:
+
+\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.
+\end{funcdesc}
\section{\module{macpath} ---
- MacOS path manipulation functions.}
+ MacOS path manipulation functions}
\declaremodule{standard}{macpath}
\modulesynopsis{MacOS path manipulation functions.}
-This module provides a subset of the pathname manipulation functions
-available from the optional standard module \module{posixpath}. It is
-best accessed through the more portable standard module \module{os}, as
-\code{os.path}.
-\refstmodindex{posixpath}
-\refstmodindex{os}
+This module is the Macintosh implementation of the \module{os.path}
+module. It is most portably accessed as \module{os.path}.
+\refstmodindex{os.path}
The following functions are available in this module:
\function{normcase()},
@@ -104,5 +101,5 @@ The following functions are available in this module:
\function{isfile()},
\function{walk()},
\function{exists()}.
-For other functions available in \module{posixpath} dummy counterparts
+For other functions available in \module{os.path} dummy counterparts
are available.