Staging
v0.5.1
https://github.com/python/cpython
Revision 6b517fdc95bdd4b199a9a1324fd6c11e51edb180 authored by Sjoerd Mullender on 16 March 1993, 12:25:30 UTC, committed by Sjoerd Mullender on 16 March 1993, 12:25:30 UTC
1 parent e537240
Raw File
Tip revision: 6b517fdc95bdd4b199a9a1324fd6c11e51edb180 authored by Sjoerd Mullender on 16 March 1993, 12:25:30 UTC
Added conversion routines to sv module.
Tip revision: 6b517fd
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