1
0
forked from VimPlug/jedi

combine power-or-atom_expr statements into one statement

This commit is contained in:
Claude
2016-02-15 10:20:25 +01:00
parent d5f08f8bdd
commit ca08b8270b
6 changed files with 6 additions and 7 deletions

View File

@@ -89,8 +89,7 @@ def search_function_call(evaluator, func):
parent = parent.parent
trailer = None
if tree.is_node(parent, 'power') or \
tree.is_node(parent, 'atom_expr'):
if tree.is_node(parent, 'power', 'atom_expr'):
for t in parent.children[1:]:
if t == '**':
break