From: Guido van Rossum Date: Tue, 14 Jan 1992 18:28:18 +0000 (+0000) Subject: Added 'normcase' function. X-Git-Tag: v0.9.8~604 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=599f2ed208cf3c48ff898632118bcac221d23c4a;p=thirdparty%2FPython%2Fcpython.git Added 'normcase' function. --- diff --git a/Lib/macpath.py b/Lib/macpath.py index 533b0524b99c..b0a27c85bea6 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.