Show More
@@ -83,6 +83,7 b' pypats = [' | |||||
83 | (r'[\x80-\xff]', "non-ASCII character literal"), |
|
83 | (r'[\x80-\xff]', "non-ASCII character literal"), | |
84 | (r'("\')\.format\(', "str.format() not available in Python 2.4"), |
|
84 | (r'("\')\.format\(', "str.format() not available in Python 2.4"), | |
85 | (r'^\s*with\s+', "with not available in Python 2.4"), |
|
85 | (r'^\s*with\s+', "with not available in Python 2.4"), | |
|
86 | (r'^\s*(any|all)\(', "any/all not available in Python 2.4"), | |||
86 | (r'if\s.*\selse', "if ... else form not available in Python 2.4"), |
|
87 | (r'if\s.*\selse', "if ... else form not available in Python 2.4"), | |
87 | (r'([\(\[]\s\S)|(\S\s[\)\]])', "gratuitous whitespace in () or []"), |
|
88 | (r'([\(\[]\s\S)|(\S\s[\)\]])', "gratuitous whitespace in () or []"), | |
88 | # (r'\s\s=', "gratuitous whitespace before ="), |
|
89 | # (r'\s\s=', "gratuitous whitespace before ="), |
General Comments 0
You need to be logged in to leave comments.
Login now