diff options
author | Guido van Rossum <guido@python.org> | 1999-02-22 15:40:34 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-02-22 15:40:34 (GMT) |
commit | fb801e7d338b3b3c8a919a5aca78250a2ad04da5 (patch) | |
tree | 09df2c65fca04251c4863947af14ace1edc86d2b /Lib | |
parent | 0df2188d0849d79924825e9e3f763a8571dbfdc0 (diff) | |
download | cpython-fb801e7d338b3b3c8a919a5aca78250a2ad04da5.zip cpython-fb801e7d338b3b3c8a919a5aca78250a2ad04da5.tar.gz cpython-fb801e7d338b3b3c8a919a5aca78250a2ad04da5.tar.bz2 |
As Finn Bock points out, _P_WAIT etc. don't have a leading underscore
so they don't need to be treated specially here.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/os.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -42,9 +42,7 @@ elif 'nt' in _names: curdir = '.'; pardir = '..'; sep = '\\'; pathsep = ';' defpath = '.;C:\\bin' from nt import * - for i in ['_exit', - '_P_WAIT', '_P_NOWAIT', '_P_OVERLAY', - '_P_NOWAITO', '_P_DETACH']: + for i in ['_exit']: try: exec "from nt import " + i except ImportError: |