mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Added 'normcase' function.
This commit is contained in:
parent
3ec6c1d401
commit
599f2ed208
1 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue