--- a/contrib/check-code.py Sun May 17 18:11:02 2015 -0700
+++ b/contrib/check-code.py Sat May 16 14:31:03 2015 -0400
@@ -243,8 +243,8 @@
# (r'^\s*print\s+', "avoid using print in core and extensions"),
(r'[\x80-\xff]', "non-ASCII character literal"),
(r'("\')\.format\(', "str.format() 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+(all|format)\(',
+ "all/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"),