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

Skip to content

Commit d37f75b

Browse files
committed
Added a note about the inability to specify a pathname to a non-existing
file in unix-Python.
1 parent 4104b50 commit d37f75b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Doc/mac/libmacfs.tex

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ \section{\module{macfs} ---
1717
argument can be one of three things:\ (1) a full or partial Macintosh
1818
pathname, (2) an \pytype{FSSpec} object or (3) a 3-tuple
1919
\code{(\var{wdRefNum}, \var{parID}, \var{name})} as described in
20-
\citetitle{Inside Macintosh:\ Files}. A description of aliases and the
20+
\citetitle{Inside Macintosh:\ Files}. An \pytype{FSSpec} can point to
21+
a non-existing file, as long as the folder containing the file exists.
22+
Under MacPython the same is true for a pathname, but not under unix-Pyton
23+
because of the way pathnames and FSRefs works. See Apple's documentation
24+
for details.
25+
26+
A description of aliases and the
2127
Standard File package can also be found there.
2228

2329
\note{A module, \refmodule{macfsn}, is auto-imported to replace

0 commit comments

Comments
 (0)