Fix some small things to get more tests passing
This commit is contained in:
1 parent
b382f06be0
commit
3829ef4785
3 files changed
+5
-4
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user