summaryrefslogtreecommitdiffstats
path: root/Lib/ospath.py
blob: 866d02e77a2618bca6c395d58b221e147804c5b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 *