Show More
@@ -94,6 +94,8 b' pypats = [' | |||
|
94 | 94 | (r'^\s*with\s+', "with not available in Python 2.4"), |
|
95 | 95 | (r'(?<!def)\s+(any|all|format)\(', |
|
96 | 96 | "any/all/format not available in Python 2.4"), |
|
97 | (r'(?<!def)\s+(callable)\(', | |
|
98 | "callable not available in Python 3, use hasattr(f, '__call__')"), | |
|
97 | 99 | (r'if\s.*\selse', "if ... else form not available in Python 2.4"), |
|
98 | 100 | (r'([\(\[]\s\S)|(\S\s[\)\]])', "gratuitous whitespace in () or []"), |
|
99 | 101 | # (r'\s\s=', "gratuitous whitespace before ="), |
General Comments 0
You need to be logged in to leave comments.
Login now