Update the code to better reflect recommended style:

Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
diff --git a/Lib/lib-old/tb.py b/Lib/lib-old/tb.py
index 5c592ce..abe4824 100644
--- a/Lib/lib-old/tb.py
+++ b/Lib/lib-old/tb.py
@@ -23,7 +23,7 @@
 	ptr = len(tblist)-1
 	tb = tblist[ptr]
 	while 1:
-		if tb <> tblist[ptr]:
+		if tb != tblist[ptr]:
 			tb = tblist[ptr]
 			print `ptr` + ':',
 			printtbheader(tb)
@@ -76,11 +76,11 @@
 	except:
 		t, v = sys.exc_info()[:2]
 		print '*** Exception:',
-		if type(t) == type(''):
+		if type(t) is type(''):
 			print t,
 		else:
 			print t.__name__,
-		if v <> None:
+		if v is not None:
 			print ':', v,
 		print
 		print 'Type help to get help.'
@@ -127,24 +127,24 @@
 		print
 
 def printobject(v, maxlevel):
-	if v == None:
+	if v is None:
 		print 'None',
 	elif type(v) in (type(0), type(0.0)):
 		print v,
-	elif type(v) == type(''):
+	elif type(v) is type(''):
 		if len(v) > 20:
 			print `v[:17] + '...'`,
 		else:
 			print `v`,
-	elif type(v) == type(()):
+	elif type(v) is type(()):
 		print '(',
 		printlist(v, maxlevel)
 		print ')',
-	elif type(v) == type([]):
+	elif type(v) is type([]):
 		print '[',
 		printlist(v, maxlevel)
 		print ']',
-	elif type(v) == type({}):
+	elif type(v) is type({}):
 		print '{',
 		printdict(v, maxlevel)
 		print '}',