diff options
author | Guido van Rossum <guido@python.org> | 1992-03-31 19:06:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-03-31 19:06:54 (GMT) |
commit | bf1710ac5ffc8c38d7b0afd51db4c1ae26673676 (patch) | |
tree | 8fdfe9acb3c5676b2cb0f60e940d768214340aad /Lib/importall.py | |
parent | 50399ae583a2b675ad5d38e77feb05372d63275d (diff) | |
download | cpython-bf1710ac5ffc8c38d7b0afd51db4c1ae26673676.zip cpython-bf1710ac5ffc8c38d7b0afd51db4c1ae26673676.tar.gz cpython-bf1710ac5ffc8c38d7b0afd51db4c1ae26673676.tar.bz2 |
use std module os
Diffstat (limited to 'Lib/importall.py')
-rwxr-xr-x | Lib/importall.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/Lib/importall.py b/Lib/importall.py index 469e9c6..1d20377 100755 --- a/Lib/importall.py +++ b/Lib/importall.py @@ -1,17 +1,7 @@ # Utility module to import all modules in the path, in the hope # that this will update their ".pyc" files. -# First, see if this is the Mac or UNIX -try: - import posix - os = posix - import path -except ImportError: - import mac - os = mac - import macpath - path = macpath - +import os import sys # Sabotage 'gl' and 'stdwin' to prevent windows popping up... |