From: Guido van Rossum Date: Mon, 30 Mar 1992 12:39:06 +0000 (+0000) Subject: Initial revision X-Git-Tag: v0.9.8~421 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6da6aebfdb680a5340deae59088f9e68525723b5;p=thirdparty%2FPython%2Fcpython.git Initial revision --- diff --git a/Lib/ospath.py b/Lib/ospath.py new file mode 100644 index 000000000000..866d02e77a26 --- /dev/null +++ b/Lib/ospath.py @@ -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 *