diff options
Diffstat (limited to 'Lib/posixpath.py')
-rw-r--r-- | Lib/posixpath.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/posixpath.py b/Lib/posixpath.py index d0179f1..50073dc 100644 --- a/Lib/posixpath.py +++ b/Lib/posixpath.py @@ -18,8 +18,18 @@ __all__ = ["normcase","isabs","join","splitdrive","split","splitext", "getatime","getctime","islink","exists","isdir","isfile","ismount", "walk","expanduser","expandvars","normpath","abspath", "samefile","sameopenfile","samestat", + "curdir","pardir","sep","pathsep","defpath","altsep","extsep", "realpath","supports_unicode_filenames"] +# strings representing various path-related bits and pieces +curdir = '.' +pardir = '..' +extsep = '.' +sep = '/' +pathsep = ':' +defpath = ':/bin:/usr/bin' +altsep = None + # Normalize the case of a pathname. Trivial in Posix, string.lower on Mac. # On MS-DOS this may also turn slashes into backslashes; however, other # normalizations (such as optimizing '../' away) are not allowed |