_make_boundary(): Fix for SF bug #745478, broken boundary calculation
[python/dscho.git] / Doc / mac / libmac.tex
blob160753af11a91851f9454d35cf7191e956aef1e0
1 \section{\module{mac} ---
2 Implementations for the \module{os} module}
4 \declaremodule{builtin}{mac}
5 \platform{Mac}
6 \modulesynopsis{Implementations for the \module{os} module.}
9 This module implements the Mac OS 9 operating system dependent functionality
10 provided by the standard module \module{os}\refstmodindex{os}. It is
11 best accessed through the \module{os} module. This module is only available in
12 MacPython-OS9, on MacPython-OSX \module{posix} is used.
14 The following functions are available in this module:
15 \function{chdir()},
16 \function{close()},
17 \function{dup()},
18 \function{fdopen()},
19 \function{getcwd()},
20 \function{lseek()},
21 \function{listdir()},
22 \function{mkdir()},
23 \function{open()},
24 \function{read()},
25 \function{rename()},
26 \function{rmdir()},
27 \function{stat()},
28 \function{sync()},
29 \function{unlink()},
30 \function{write()},
31 as well as the exception \exception{error}. Note that the times
32 returned by \function{stat()} are floating-point values, like all time
33 values in MacPython-OS9.
35 \section{\module{macpath} ---
36 MacOS path manipulation functions}
38 \declaremodule{standard}{macpath}
39 % Could be labeled \platform{Mac}, but the module should work anywhere and
40 % is distributed with the standard library.
41 \modulesynopsis{MacOS path manipulation functions.}
44 This module is the Macintosh implementation of the \module{os.path}
45 module. It is most portably accessed as
46 \module{os.path}\refstmodindex{os.path}. Refer to the
47 \citetitle[../lib/lib.html]{Python Library Reference} for
48 documentation of \module{os.path}.
50 The following functions are available in this module:
51 \function{normcase()},
52 \function{normpath()},
53 \function{isabs()},
54 \function{join()},
55 \function{split()},
56 \function{isdir()},
57 \function{isfile()},
58 \function{walk()},
59 \function{exists()}.
60 For other functions available in \module{os.path} dummy counterparts
61 are available.