Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1e768dff
Commit
1e768dff
authored
Jan 14, 1992
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added 'normcase' function.
parent
345451c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
Lib/macpath.py
Lib/macpath.py
+6
-1
No files found.
Lib/macpath.py
View file @
1e768dff
# 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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment