Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb801e7

Browse files
committed
As Finn Bock points out, _P_WAIT etc. don't have a leading underscore
so they don't need to be treated specially here.
1 parent 0df2188 commit fb801e7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Lib/os.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@
4242
curdir = '.'; pardir = '..'; sep = '\\'; pathsep = ';'
4343
defpath = '.;C:\\bin'
4444
from nt import *
45-
for i in ['_exit',
46-
'_P_WAIT', '_P_NOWAIT', '_P_OVERLAY',
47-
'_P_NOWAITO', '_P_DETACH']:
45+
for i in ['_exit']:
4846
try:
4947
exec "from nt import " + i
5048
except ImportError:

0 commit comments

Comments
 (0)