summaryrefslogtreecommitdiffstats
path: root/Lib/ntpath.py
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-10-05 00:48:46 (GMT)
committerJesus Cea <jcea@jcea.es>2012-10-05 00:48:46 (GMT)
commitf1af7057208da7b3d15703645688fea971a4fb5e (patch)
tree39acd4dbcf0f5d9005521d814952164819d7885d /Lib/ntpath.py
parent080a2c087e5fa08c44ff121d74ea8ad9d4413c58 (diff)
downloadcpython-f1af7057208da7b3d15703645688fea971a4fb5e.zip
cpython-f1af7057208da7b3d15703645688fea971a4fb5e.tar.gz
cpython-f1af7057208da7b3d15703645688fea971a4fb5e.tar.bz2
#16135: Removal of OS/2 support (Remove OS2 and OS/2 references)
Diffstat (limited to 'Lib/ntpath.py')
-rw-r--r--Lib/ntpath.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/ntpath.py b/Lib/ntpath.py
index 826be87..f70193f 100644
--- a/Lib/ntpath.py
+++ b/Lib/ntpath.py
@@ -30,9 +30,6 @@ altsep = '/'
defpath = '.;C:\\bin'
if 'ce' in sys.builtin_module_names:
defpath = '\\Windows'
-elif 'os2' in sys.builtin_module_names:
- # OS/2 w/ VACPP
- altsep = '/'
devnull = 'nul'
def _get_empty(path):
@@ -320,8 +317,7 @@ def dirname(p):
def islink(path):
"""Test whether a path is a symbolic link.
- This will always return false for Windows prior to 6.0
- and for OS/2.
+ This will always return false for Windows prior to 6.0.
"""
try:
st = os.lstat(path)