contrib/check-code.py
changeset 25198 db77ff0b63da
parent 25197 6faa7d986a8b
child 25200 3613819fb05f
--- a/contrib/check-code.py	Mon May 18 16:09:05 2015 -0500
+++ b/contrib/check-code.py	Mon May 18 16:11:44 2015 -0500
@@ -239,8 +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'(?<!def)\s+(format)\(',
-     "format not available in Python 2.4", 'no-py24'),
     (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"),