diff options
-rw-r--r-- | Lib/macpath.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py index 5317c36..71748c9 100644 --- a/Lib/macpath.py +++ b/Lib/macpath.py @@ -98,6 +98,17 @@ def exists(s): return 0 return 1 +# +# dummy expandvars to retain interface-compatability with other +# operating systems. +def expandvars(path): + return path + +# +# dummy expanduser to retain interface-compatability with other +# operating systems. +def expanduser(path): + return path # Normalize a pathname: get rid of '::' sequences by backing up, # e.g., 'foo:bar::bletch' becomes 'foo:bletch'. |