Commit 1e768dff authored by Guido van Rossum's avatar Guido van Rossum

Added 'normcase' function.

parent 345451c2
# module 'macpath' -- pathname (or -related) operations for the Macintosh # module 'macpath' -- pathname (or -related) operations for the Macintosh
import string
import mac import mac
from stat import * 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. # Return true if a path is absolute.
# On the Mac, relative paths begin with a colon, # On the Mac, relative paths begin with a colon,
# but as a special case, paths with no colons at all are also relative. # but as a special case, paths with no colons at all are also relative.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment