diff options
author | Guido van Rossum <guido@python.org> | 1995-01-27 02:41:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-27 02:41:45 (GMT) |
commit | 7e4b2def34f5cb6c954148a7458c8e1aa4584320 (patch) | |
tree | 9b6a93f3726eac8f595329bc87e56d248df4a0ac /Lib/macpath.py | |
parent | f808012f5e41b491c7348f8189e37c30b7cbf1a0 (diff) | |
download | cpython-7e4b2def34f5cb6c954148a7458c8e1aa4584320.zip cpython-7e4b2def34f5cb6c954148a7458c8e1aa4584320.tar.gz cpython-7e4b2def34f5cb6c954148a7458c8e1aa4584320.tar.bz2 |
changes for the Mac
Diffstat (limited to 'Lib/macpath.py')
-rw-r--r-- | Lib/macpath.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py index 0e32ab2..2eddf5a 100644 --- a/Lib/macpath.py +++ b/Lib/macpath.py @@ -100,6 +100,13 @@ def isdir(s): return S_ISDIR(st[ST_MODE]) +# Return true if the pathname refers to a symbolic link. +# (Always false on the Mac, until we understand Aliases.) + +def islink(s): + return 0 + + # Return true if the pathname refers to an existing regular file. def isfile(s): |