From 117910dc445a2262bd96bbfefaf43714ae59c11b Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Fri, 14 Feb 2003 19:35:31 +0000 Subject: Migrate definitions of several platform-dependent path-related variables into the relevant path modules. See patch #686397. --- Lib/os2emxpath.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Lib/os2emxpath.py') diff --git a/Lib/os2emxpath.py b/Lib/os2emxpath.py index f92841fd5f..67f00df10c 100644 --- a/Lib/os2emxpath.py +++ b/Lib/os2emxpath.py @@ -12,8 +12,18 @@ __all__ = ["normcase","isabs","join","splitdrive","split","splitext", "basename","dirname","commonprefix","getsize","getmtime", "getatime","getctime", "islink","exists","isdir","isfile","ismount", "walk","expanduser","expandvars","normpath","abspath","splitunc", + "curdir","pardir","sep","pathsep","defpath","altsep","extsep", "realpath","supports_unicode_filenames"] +# strings representing various path-related bits and pieces +curdir = '.' +pardir = '..' +extsep = '.' +sep = '/' +altsep = '\\' +pathsep = ';' +defpath = '.;C:\\bin' + # Normalize the case of a pathname and map slashes to backslashes. # Other normalizations (such as optimizing '../' away) are not done # (this is done by normpath). -- cgit v1.2.1