contrib/check-code.py
changeset 21791 fb16f6da5b3b
parent 21487 c26464ce0781
child 21930 a5168eb9b2bc
--- a/contrib/check-code.py	Sat Jun 21 15:56:49 2014 +1000
+++ b/contrib/check-code.py	Mon Jun 23 09:22:53 2014 -0400
@@ -247,8 +247,6 @@
     (r'^\s*os\.path\.relpath', "relpath not available in Python 2.4"),
     (r'(?<!def)\s+(any|all|format)\(',
      "any/all/format not available in Python 2.4", 'no-py24'),
-    (r'(?<!def)\s+(callable)\(',
-     "callable not available in Python 3, use getattr(f, '__call__', None)"),
     (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"),