1.1 --- a/micropython/report.py Mon Feb 27 23:22:33 2012 +0100
1.2 +++ b/micropython/report.py Wed Feb 29 00:39:20 2012 +0100
1.3 @@ -906,7 +906,7 @@
1.4
1.5 def visitAssAttr(self, node):
1.6 target_names = ["%s%s" % (is_static and "class " or "", target_name)
1.7 - for target_name, is_static in self.possible_accessor_types(node)]
1.8 + for target_name, is_static in self.possible_accessor_types(node, defining_users=0)]
1.9 self._span_start("assattr")
1.10 self._accessor_start(target_names)
1.11 self.dispatch(node.expr)
1.12 @@ -998,7 +998,7 @@
1.13
1.14 def visitGetattr(self, node):
1.15 target_names = ["%s%s" % (is_static and "class " or "", target_name)
1.16 - for target_name, is_static in self.possible_accessor_types(node)]
1.17 + for target_name, is_static in self.possible_accessor_types(node, defining_users=0)]
1.18 self._span_start("getattr")
1.19 self._accessor_start(target_names)
1.20 self.dispatch(node.expr)