1
0
forked from VimPlug/jedi

python 3.5 uses atom_expr node in many places where previous python would use power node

This commit is contained in:
Claude
2016-02-09 11:42:53 +01:00
parent 3fb5fe8c77
commit 241abe9cf3
4 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -89,7 +89,8 @@ def search_function_call(evaluator, func):
parent = parent.parent
trailer = None
if tree.is_node(parent, 'power'):
if tree.is_node(parent, 'power') or \
tree.is_node(parent, 'atom_expr'):
for t in parent.children[1:]:
if t == '**':
break