1.1 --- a/micropython/data.py Sun Nov 22 21:21:41 2009 +0100
1.2 +++ b/micropython/data.py Sun Nov 22 22:53:24 2009 +0100
1.3 @@ -289,14 +289,6 @@
1.4
1.5 # Attribute usage methods.
1.6
1.7 - def get_active_attributes(self):
1.8 -
1.9 - """
1.10 - Return attributes on this object that are actually used.
1.11 - """
1.12 -
1.13 - return self.attributes_used[-1].get(None, [])
1.14 -
1.15 def get_all_attribute_usage(self):
1.16
1.17 """
1.18 @@ -309,6 +301,9 @@
1.19 usage.add(tuple(names))
1.20 return usage
1.21
1.22 + def use_attribute(self, name, attrname):
1.23 + return self._use_attribute(name, attrname)
1.24 +
1.25 # These shadow various methods in the InspectedModule class, and provide
1.26 # implementations generally.
1.27