cpython/Lib/ospath.py

16 lines
265 B
Python
Raw Normal View History

1992-03-30 12:39:06 +00:00
# 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 *