diff options
Diffstat (limited to 'Lib/macpath.py')
-rw-r--r-- | Lib/macpath.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py index 80deaa9..91412c5 100644 --- a/Lib/macpath.py +++ b/Lib/macpath.py @@ -125,7 +125,7 @@ def islink(s): """Return true if the pathname refers to a symbolic link. Always false on the Mac, until we understand Aliases.)""" - return 0 + return False def isfile(s): @@ -134,7 +134,7 @@ def isfile(s): try: st = os.stat(s) except os.error: - return 0 + return False return S_ISREG(st[ST_MODE]) |