Commit fb801e7d authored by Guido van Rossum's avatar Guido van Rossum

As Finn Bock points out, _P_WAIT etc. don't have a leading underscore

so they don't need to be treated specially here.
parent 0df2188d
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment