2013-10-27 | Paul Boddie | raw files shortlog changelog graph | For non-self instance attribute access, exclude subclass instance attributes. | syspython-as-target |
micropython/deduce.py (file) |
1.1 --- a/micropython/deduce.py Sun Oct 27 00:35:49 2013 +0200 1.2 +++ b/micropython/deduce.py Sun Oct 27 01:00:27 2013 +0200 1.3 @@ -184,7 +184,7 @@ 1.4 1.5 # A class where instances of subclasses may provide an attribute. 1.6 1.7 - elif attrs: 1.8 + elif attrs and self_access: 1.9 if attr: 1.10 attrs.append(attr) 1.11