Show More
@@ -162,6 +162,9 b' pypats = [' | |||||
162 | "tuple parameter unpacking not available in Python 3+"), |
|
162 | "tuple parameter unpacking not available in Python 3+"), | |
163 | (r'lambda\s*\(.*,.*\)', |
|
163 | (r'lambda\s*\(.*,.*\)', | |
164 | "tuple parameter unpacking not available in Python 3+"), |
|
164 | "tuple parameter unpacking not available in Python 3+"), | |
|
165 | (r'import (.+,[^.]+\.[^.]+|[^.]+\.[^.]+,)', | |||
|
166 | '2to3 can\'t always rewrite "import qux, foo.bar", ' | |||
|
167 | 'use "import foo.bar" on its own line instead.'), | |||
165 | (r'(?<!def)\s+(cmp)\(', "cmp is not available in Python 3+"), |
|
168 | (r'(?<!def)\s+(cmp)\(', "cmp is not available in Python 3+"), | |
166 | (r'\breduce\s*\(.*', "reduce is not available in Python 3+"), |
|
169 | (r'\breduce\s*\(.*', "reduce is not available in Python 3+"), | |
167 | (r'\.has_key\b', "dict.has_key is not available in Python 3+"), |
|
170 | (r'\.has_key\b', "dict.has_key is not available in Python 3+"), |
General Comments 0
You need to be logged in to leave comments.
Login now