diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-06 22:15:23 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-06 22:15:23 (GMT) |
commit | d37f75b88a5a861912a18f47ea993a861fb167fe (patch) | |
tree | 2dfa45450603f9116ea6ec300236f05b6c89eec9 /Doc | |
parent | 4104b50b5279ef13de59435389ea65d51d9397ae (diff) | |
download | cpython-d37f75b88a5a861912a18f47ea993a861fb167fe.zip cpython-d37f75b88a5a861912a18f47ea993a861fb167fe.tar.gz cpython-d37f75b88a5a861912a18f47ea993a861fb167fe.tar.bz2 |
Added a note about the inability to specify a pathname to a non-existing
file in unix-Python.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/mac/libmacfs.tex | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/mac/libmacfs.tex b/Doc/mac/libmacfs.tex index 36610e8..fcb342c 100644 --- a/Doc/mac/libmacfs.tex +++ b/Doc/mac/libmacfs.tex @@ -17,7 +17,13 @@ Whenever a function or method expects a \var{file} argument, this argument can be one of three things:\ (1) a full or partial Macintosh pathname, (2) an \pytype{FSSpec} object or (3) a 3-tuple \code{(\var{wdRefNum}, \var{parID}, \var{name})} as described in -\citetitle{Inside Macintosh:\ Files}. A description of aliases and the +\citetitle{Inside Macintosh:\ Files}. An \pytype{FSSpec} can point to +a non-existing file, as long as the folder containing the file exists. +Under MacPython the same is true for a pathname, but not under unix-Pyton +because of the way pathnames and FSRefs works. See Apple's documentation +for details. + +A description of aliases and the Standard File package can also be found there. \note{A module, \refmodule{macfsn}, is auto-imported to replace |