contrib/check-code.py
changeset 25200 3613819fb05f
parent 25198 db77ff0b63da
child 25212 a39c35e8e559
--- a/contrib/check-code.py	Mon May 18 16:30:24 2015 -0500
+++ b/contrib/check-code.py	Mon May 18 16:18:18 2015 -0500
@@ -239,7 +239,6 @@
 #    (r'in range\(', "use xrange"),
 #    (r'^\s*print\s+', "avoid using print in core and extensions"),
     (r'[\x80-\xff]', "non-ASCII character literal"),
-    (r'if\s.*\selse', "if ... else form not available in Python 2.4"),
     (r'^\s*(%s)\s\s' % '|'.join(keyword.kwlist),
      "gratuitous whitespace after Python keyword"),
     (r'([\(\[][ \t]\S)|(\S[ \t][\)\]])', "gratuitous whitespace in () or []"),