summaryrefslogtreecommitdiffstats
path: root/Lib/os2emxpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/os2emxpath.py')
-rw-r--r--Lib/os2emxpath.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/os2emxpath.py b/Lib/os2emxpath.py
index 0315da0..f92841f 100644
--- a/Lib/os2emxpath.py
+++ b/Lib/os2emxpath.py
@@ -12,7 +12,7 @@ __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",
- "supports_unicode_filenames"]
+ "realpath","supports_unicode_filenames"]
# Normalize the case of a pathname and map slashes to backslashes.
# Other normalizations (such as optimizing '../' away) are not done
@@ -405,4 +405,7 @@ def abspath(path):
path = join(os.getcwd(), path)
return normpath(path)
+# realpath is a no-op on systems without islink support
+realpath = abspath
+
supports_unicode_filenames = False