forked from VimPlug/jedi
Merge branch 'master' into typeshed
This commit is contained in:
@@ -514,9 +514,10 @@ class SelfAttributeFilter(ClassFilter):
|
||||
for name in names:
|
||||
trailer = name.parent
|
||||
if trailer.type == 'trailer' \
|
||||
and len(trailer.children) == 2 \
|
||||
and len(trailer.parent.children) == 2 \
|
||||
and trailer.children[0] == '.':
|
||||
if name.is_definition() and self._access_possible(name):
|
||||
# TODO filter non-self assignments.
|
||||
yield name
|
||||
|
||||
def _convert_names(self, names):
|
||||
|
||||
Reference in New Issue
Block a user