Show More
@@ -247,8 +247,6 b' pypats = [' | |||
|
247 | 247 | (r'^\s*os\.path\.relpath', "relpath not available in Python 2.4"), |
|
248 | 248 | (r'(?<!def)\s+(any|all|format)\(', |
|
249 | 249 | "any/all/format not available in Python 2.4", 'no-py24'), |
|
250 | (r'(?<!def)\s+(callable)\(', | |
|
251 | "callable not available in Python 3, use getattr(f, '__call__', None)"), | |
|
252 | 250 | (r'if\s.*\selse', "if ... else form not available in Python 2.4"), |
|
253 | 251 | (r'^\s*(%s)\s\s' % '|'.join(keyword.kwlist), |
|
254 | 252 | "gratuitous whitespace after Python keyword"), |
General Comments 0
You need to be logged in to leave comments.
Login now