mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
As Finn Bock points out, _P_WAIT etc. don't have a leading underscore
so they don't need to be treated specially here.
This commit is contained in:
parent
0df2188d08
commit
fb801e7d33
1 changed files with 1 additions and 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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue