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

@@ -485,7 +485,7 @@ def _check_isinstance_type(evaluator, element, search_name):
# Do a simple get_code comparison. They should just have the same code,
# and everything will be all right.
classes = lst[1][1][0]
call = helpers.call_of_name(search_name)
call = helpers.call_of_leaf(search_name)
assert name.get_code(normalized=True) == call.get_code(normalized=True)
except AssertionError:
return set()