1
0
forked from VimPlug/jedi

Fix some small things to get more tests passing

This commit is contained in:
Dave Halter
2019-07-01 21:52:03 -07:00
parent b382f06be0
commit 3829ef4785
3 changed files with 5 additions and 4 deletions

View File

@@ -504,7 +504,7 @@ class SelfAttributeFilter(ClassFilter):
if trailer.type == 'trailer' \
and len(trailer.parent.children) == 2 \
and trailer.children[0] == '.':
if name.is_definition() and self._access_possible(name):
if name.is_definition() and self._access_possible(name, from_instance=True):
# TODO filter non-self assignments.
yield name