Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 7a325c385bb547b481abfee8301e9d9f2e58990a authored by cvs2svn on 06 May 1994, 14:16:55 UTC
This commit was manufactured by cvs2svn to create tag 'release102'.
Tip revision: 7a325c3
ospath.py
# 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 *
back to top