diff options
author | Skip Montanaro <skip@pobox.com> | 2003-02-14 19:35:31 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2003-02-14 19:35:31 (GMT) |
commit | 117910dc445a2262bd96bbfefaf43714ae59c11b (patch) | |
tree | 9dfb082f3e2975d50277035df0c3e8db70dbce7b /Lib/macpath.py | |
parent | 4507ec70cff35468f4b1767382f38ecebd4a29a2 (diff) | |
download | cpython-117910dc445a2262bd96bbfefaf43714ae59c11b.zip cpython-117910dc445a2262bd96bbfefaf43714ae59c11b.tar.gz cpython-117910dc445a2262bd96bbfefaf43714ae59c11b.tar.bz2 |
Migrate definitions of several platform-dependent path-related variables
into the relevant path modules. See patch #686397.
Diffstat (limited to 'Lib/macpath.py')
-rw-r--r-- | Lib/macpath.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py index e8ac467..8277d41 100644 --- a/Lib/macpath.py +++ b/Lib/macpath.py @@ -7,8 +7,18 @@ __all__ = ["normcase","isabs","join","splitdrive","split","splitext", "basename","dirname","commonprefix","getsize","getmtime", "getatime","getctime", "islink","exists","isdir","isfile", "walk","expanduser","expandvars","normpath","abspath", + "curdir","pardir","sep","pathsep","defpath","altsep","extsep", "realpath","supports_unicode_filenames"] +# strings representing various path-related bits and pieces +curdir = ':' +pardir = '::' +extsep = '.' +sep = ':' +pathsep = '\n' +defpath = ':' +altsep = None + # Normalize the case of a pathname. Dummy in Posix, but <s>.lower() here. def normcase(path): |