Unroll calls to all on python 2

This commit is contained in:
Tomer Keren 2019-05-18 14:27:47 +03:00
parent 322a0f0a33
commit 22d91a3c3a
1 changed files with 2 additions and 0 deletions

View File

@ -1020,6 +1020,8 @@ warn_explicit(
"""
visit `ast.Call nodes on 3.4 and below`
"""
if isinstance(call.func, ast.Name) and call.func.id == "all":
return self._visit_all(call)
new_func, func_expl = self.visit(call.func)
arg_expls = []
new_args = []