commit | b053cd8f40dd19985b16f50661640dcefb69888f | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 24 03:53:23 2006 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 24 03:53:23 2006 +0000 |
tree | 88e1c2ce636a6df402a97c51ea9067a46735120a | |
parent | 01c77c66289f8e9c8d15b8da623fae4014ec2edb [diff] [blame] |
Killed the <> operator. You must now use !=. Opportunistically also fixed one or two places where '<> None' should be 'is not None' and where 'type(x) <> y' should be 'not isinstance(x, y)'.
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index b9fdd5d..9fd1615 100644 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py
@@ -627,7 +627,7 @@ for o, a in opts: if o == '-n': new_win = 1 elif o == '-t': new_win = 2 - if len(args) <> 1: + if len(args) != 1: print >>sys.stderr, usage sys.exit(1)