Skip to content

Commit bf1710a

Browse files
committed
use std module os
1 parent 50399ae commit bf1710a

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

Lib/importall.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
# Utility module to import all modules in the path, in the hope
22
# that this will update their ".pyc" files.
33

4-
# First, see if this is the Mac or UNIX
5-
try:
6-
import posix
7-
os = posix
8-
import path
9-
except ImportError:
10-
import mac
11-
os = mac
12-
import macpath
13-
path = macpath
14-
4+
import os
155
import sys
166

177
# Sabotage 'gl' and 'stdwin' to prevent windows popping up...

0 commit comments

Comments
 (0)