1
0
forked from VimPlug/jedi

Add new tests and certain fixes for some new call signature issues.

This commit is contained in:
Dave Halter
2016-06-20 18:20:35 +02:00
parent b9d3371f39
commit e0631cfda2
3 changed files with 17 additions and 6 deletions

View File

@@ -82,7 +82,7 @@ def call_of_name(name, cut_own_trailer=False):
# ignore it, It's not what we want anyway. Or document it better?
"""
trailer = name.parent
if trailer.type != 'trailer' or trailer.children[0] != '.':
if trailer.type != 'trailer':
return name
assert not cut_own_trailer # TODO remove