1
0
forked from VimPlug/jedi

Refactoring: call_of_name -> call_of_leaf.

This commit is contained in:
Dave Halter
2016-06-21 18:42:20 +02:00
parent d0eb8137e2
commit 8e67facecc
6 changed files with 9 additions and 9 deletions

View File

@@ -716,7 +716,7 @@ def _check_array_additions(evaluator, compare_array, module, is_list):
or execution_trailer.children[0] != '(' \
or execution_trailer.children[1] == ')':
continue
power = helpers.call_of_name(name, cut_own_trailer=True)
power = helpers.call_of_leaf(name, cut_own_trailer=True)
# InstanceElements are special, because they don't get copied,
# but have this wrapper around them.
if isinstance(comp_arr_parent, er.InstanceElement):