diff Lib/webbrowser.py @ 39648:efe3f2c0da5e

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)'.
author Guido van Rossum <guido@python.org>
date Thu, 24 Aug 2006 03:53:23 +0000
parents dceea41f4a6d
children cc992d75d5b3
line wrap: on
line diff
--- a/Lib/webbrowser.py	Thu Aug 24 02:58:11 2006 +0000
+++ b/Lib/webbrowser.py	Thu Aug 24 03:53:23 2006 +0000
@@ -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)