Initial revision

This commit is contained in:
Guido van Rossum 1992-03-30 12:39:06 +00:00
parent 715a653152
commit 6da6aebfdb
1 changed files with 15 additions and 0 deletions

15
Lib/ospath.py Normal file
View File

@ -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 *