mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Get rid of most of the remaining uses of <>. There's still Tools/* thogh.
This commit is contained in:
parent
c4996ba794
commit
3bd844e695
16 changed files with 23 additions and 49 deletions
|
|
@ -115,11 +115,11 @@ def spawn(prog, args):
|
|||
os.close(i)
|
||||
except os.error:
|
||||
pass
|
||||
if os.dup(p2cread) <> 0:
|
||||
if os.dup(p2cread) != 0:
|
||||
sys.stderr.write('popen2: bad read dup\n')
|
||||
if os.dup(c2pwrite) <> 1:
|
||||
if os.dup(c2pwrite) != 1:
|
||||
sys.stderr.write('popen2: bad write dup\n')
|
||||
if os.dup(c2pwrite) <> 2:
|
||||
if os.dup(c2pwrite) != 2:
|
||||
sys.stderr.write('popen2: bad write dup\n')
|
||||
for i in range(3, MAXFD):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue