]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
As Finn Bock points out, _P_WAIT etc. don't have a leading underscore
authorGuido van Rossum <guido@python.org>
Mon, 22 Feb 1999 15:40:34 +0000 (15:40 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 22 Feb 1999 15:40:34 +0000 (15:40 +0000)
so they don't need to be treated specially here.

Lib/os.py

index a8a08ed43aa69ac17531512bd5fb982b586e3eef..a4d07c932f161865a6b18b7fbd65dbb2fb6fc858 100644 (file)
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -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: