equal
deleted
inserted
replaced
231 (r"( +)(#([^!][^\n]*\S)?)", repcomment), |
231 (r"( +)(#([^!][^\n]*\S)?)", repcomment), |
232 ] |
232 ] |
233 |
233 |
234 pypats = [ |
234 pypats = [ |
235 [ |
235 [ |
|
236 (r'\\$', 'Use () to wrap long lines in Python, not \\'), |
236 (r'^\s*def\s*\w+\s*\(.*,\s*\(', |
237 (r'^\s*def\s*\w+\s*\(.*,\s*\(', |
237 "tuple parameter unpacking not available in Python 3+"), |
238 "tuple parameter unpacking not available in Python 3+"), |
238 (r'lambda\s*\(.*,.*\)', |
239 (r'lambda\s*\(.*,.*\)', |
239 "tuple parameter unpacking not available in Python 3+"), |
240 "tuple parameter unpacking not available in Python 3+"), |
240 (r'(?<!def)\s+(cmp)\(', "cmp is not available in Python 3+"), |
241 (r'(?<!def)\s+(cmp)\(', "cmp is not available in Python 3+"), |