Show More
@@ -218,9 +218,6 b' pypats = [' | |||||
218 | "tuple parameter unpacking not available in Python 3+"), |
|
218 | "tuple parameter unpacking not available in Python 3+"), | |
219 | (r'lambda\s*\(.*,.*\)', |
|
219 | (r'lambda\s*\(.*,.*\)', | |
220 | "tuple parameter unpacking not available in Python 3+"), |
|
220 | "tuple parameter unpacking not available in Python 3+"), | |
221 | (r'import (.+,[^.]+\.[^.]+|[^.]+\.[^.]+,)', |
|
|||
222 | '2to3 can\'t always rewrite "import qux, foo.bar", ' |
|
|||
223 | 'use "import foo.bar" on its own line instead.'), |
|
|||
224 | (r'(?<!def)\s+(cmp)\(', "cmp is not available in Python 3+"), |
|
221 | (r'(?<!def)\s+(cmp)\(', "cmp is not available in Python 3+"), | |
225 | (r'\breduce\s*\(.*', "reduce is not available in Python 3+"), |
|
222 | (r'\breduce\s*\(.*', "reduce is not available in Python 3+"), | |
226 | (r'dict\(.*=', 'dict() is different in Py2 and 3 and is slower than {}', |
|
223 | (r'dict\(.*=', 'dict() is different in Py2 and 3 and is slower than {}', |
General Comments 0
You need to be logged in to leave comments.
Login now