diff options
author | Guido van Rossum <guido@python.org> | 1992-01-14 18:28:18 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-01-14 18:28:18 (GMT) |
commit | 599f2ed208cf3c48ff898632118bcac221d23c4a (patch) | |
tree | 22fed4fa0ba4742d80f917155eef0f9c706b951e /Lib/macpath.py | |
parent | 3ec6c1d40110fdcaceb6d08e29937b547ed2112e (diff) | |
download | cpython-599f2ed208cf3c48ff898632118bcac221d23c4a.zip cpython-599f2ed208cf3c48ff898632118bcac221d23c4a.tar.gz cpython-599f2ed208cf3c48ff898632118bcac221d23c4a.tar.bz2 |
Added 'normcase' function.
Diffstat (limited to 'Lib/macpath.py')
-rw-r--r-- | Lib/macpath.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py index 533b052..b0a27c8 100644 --- a/Lib/macpath.py +++ b/Lib/macpath.py @@ -1,10 +1,15 @@ # module 'macpath' -- pathname (or -related) operations for the Macintosh +import string import mac - from stat import * +# Normalize the case of a pathname. Dummy in Posix, but string.lower here. + +normcase = string.lower + + # Return true if a path is absolute. # On the Mac, relative paths begin with a colon, # but as a special case, paths with no colons at all are also relative. |