# HG changeset patch # User Paul Boddie # Date 1382828427 -7200 # Node ID 17378d84907359a9bdea94301fc5cfdb0e9f6ba7 # Parent d6913ef45c965689cf2cb8393fcaf58e5f02e649 For non-self instance attribute access, exclude subclass instance attributes. diff -r d6913ef45c96 -r 17378d849073 micropython/deduce.py --- a/micropython/deduce.py Sun Oct 27 00:35:49 2013 +0200 +++ b/micropython/deduce.py Sun Oct 27 01:00:27 2013 +0200 @@ -184,7 +184,7 @@ # A class where instances of subclasses may provide an attribute. - elif attrs: + elif attrs and self_access: if attr: attrs.append(attr)