micropython/inspect.py | raw changeset files shortlog |
1.1 --- a/micropython/inspect.py Sun Feb 26 19:36:56 2012 +0100 1.2 +++ b/micropython/inspect.py Mon Feb 27 21:51:46 2012 +0100 1.3 @@ -668,6 +668,7 @@ 1.4 1.5 if expr.name == "self": 1.6 self.store_instance_attr(attrname) 1.7 + self.use_attribute(expr.name, attrname, value) # NOTE: Impose constraints on the type given the hierarchy. 1.8 1.9 elif isinstance(value, Module): 1.10 self.store_module_attr(attrname, value)