Mercurial > cpython-lru_cache-weakref
diff Lib/macpath.py @ 22867:e2f2187c3d2c legacy-trunk
Partial introduction of bools where appropriate.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sun, 07 Apr 2002 06:36:23 +0000 |
| parents | a9dd5e6d6805 |
| children | bd08c6955e9b |
line wrap: on
line diff
--- a/Lib/macpath.py Sun Apr 07 06:34:38 2002 +0000 +++ b/Lib/macpath.py Sun Apr 07 06:36:23 2002 +0000 @@ -125,7 +125,7 @@ """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 @@ try: st = os.stat(s) except os.error: - return 0 + return False return S_ISREG(st[ST_MODE])
