python 3.5 uses atom_expr node in many places where previous python would use power node
This commit is contained in:
1 parent
3fb5fe8c77
commit
241abe9cf3
4 files changed
+6
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user