]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Initial revision
authorGuido van Rossum <guido@python.org>
Mon, 30 Mar 1992 12:39:06 +0000 (12:39 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 30 Mar 1992 12:39:06 +0000 (12:39 +0000)
Lib/ospath.py [new file with mode: 0644]

diff --git a/Lib/ospath.py b/Lib/ospath.py
new file mode 100644 (file)
index 0000000..866d02e
--- /dev/null
@@ -0,0 +1,15 @@
+# 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 *