summaryrefslogtreecommitdiff
path: root/Lib/ospath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/ospath.py')
-rw-r--r--Lib/ospath.py18
1 files changed, 3 insertions, 15 deletions
diff --git a/Lib/ospath.py b/Lib/ospath.py
index 866d02e77a..1e66759d10 100644
--- a/Lib/ospath.py
+++ b/Lib/ospath.py
@@ -1,15 +1,3 @@
-# ospath.py is to {posix,mac}path.py what os.py is to modules {posix,mac}
-
-try:
- import posix
- name = 'posix'
- del posix
-except ImportError:
- import mac
- name = 'mac'
- del mac
-
-if name == 'posix':
- from posixpath import *
-elif name == 'mac':
- from macpath import *
+# ospath.py is obsolete
+import os
+exec 'from %s import *' % os.name