diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-29 04:39:12 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-29 04:39:12 (GMT) |
commit | 3bd844e695c8295c23d64d816bd763543cc9728f (patch) | |
tree | 5c8ae0b247d082498a3e9c02e1eeca9af6a1f0c2 /Demo/tkinter | |
parent | c4996ba794d9438be8e472ad5f6c3c55fbf751e8 (diff) | |
download | cpython-3bd844e695c8295c23d64d816bd763543cc9728f.zip cpython-3bd844e695c8295c23d64d816bd763543cc9728f.tar.gz cpython-3bd844e695c8295c23d64d816bd763543cc9728f.tar.bz2 |
Get rid of most of the remaining uses of <>. There's still Tools/* thogh.
Diffstat (limited to 'Demo/tkinter')
-rwxr-xr-x | Demo/tkinter/guido/ShellWindow.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/tkinter/guido/ShellWindow.py b/Demo/tkinter/guido/ShellWindow.py index 6cdce0b..104e06d 100755 --- a/Demo/tkinter/guido/ShellWindow.py +++ b/Demo/tkinter/guido/ShellWindow.py @@ -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: |