Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6da6aeb

Browse files
committed
Initial revision
1 parent 715a653 commit 6da6aeb

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lib/ospath.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ospath.py is to {posix,mac}path.py what os.py is to modules {posix,mac}
2+
3+
try:
4+
import posix
5+
name = 'posix'
6+
del posix
7+
except ImportError:
8+
import mac
9+
name = 'mac'
10+
del mac
11+
12+
if name == 'posix':
13+
from posixpath import *
14+
elif name == 'mac':
15+
from macpath import *

0 commit comments

Comments
 (0)