contrib/check-code.py
changeset 18183 e1caaeb5a2ed
parent 18180 c582a71457e5
child 18508 813b7a1f7036
--- a/contrib/check-code.py	Tue Jan 01 13:04:40 2013 -0600
+++ b/contrib/check-code.py	Tue Jan 01 13:05:22 2013 -0600
@@ -129,6 +129,7 @@
     (r'(?<!def)\s+(cmp)\(', "cmp is not available in Python 3+"),
     (r'\breduce\s*\(.*', "reduce is not available in Python 3+"),
     (r'\.has_key\b', "dict.has_key is not available in Python 3+"),
+    (r'\s<>\s', '<> operator is not available in Python 3+, use !='),
     (r'^\s*\t', "don't use tabs"),
     (r'\S;\s*\n', "semicolon"),
     (r'[^_]_\("[^"]+"\s*%', "don't use % inside _()"),