summaryrefslogtreecommitdiff
path: root/Lib/ntpath.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-01-03 18:01:57 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2003-01-03 18:01:57 +0000
commit61cdac6d3d00b4a1b34c64b2fae0e1be10b5fdb4 (patch)
tree15425e731b90df1018ad164bff00cb91b9552e06 /Lib/ntpath.py
parent5a22453d332e61cb2dd743712354defe6a37bdf1 (diff)
downloadcpython-git-61cdac6d3d00b4a1b34c64b2fae0e1be10b5fdb4.tar.gz
Fix SF #659228, 'realpath' function missing from os.path
Also added realpath = abspath for os2emx, similar to windows/mac which also don't really implement realpath. Backport candidate, I think?
Diffstat (limited to 'Lib/ntpath.py')
-rw-r--r--Lib/ntpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ntpath.py b/Lib/ntpath.py
index d6b69208df..b82051424e 100644
--- a/Lib/ntpath.py
+++ b/Lib/ntpath.py
@@ -13,7 +13,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