micropython/data.py | raw changeset files shortlog |
1.1 --- a/micropython/data.py Mon Oct 26 00:26:07 2009 +0100 1.2 +++ b/micropython/data.py Mon Oct 26 01:03:38 2009 +0100 1.3 @@ -304,6 +304,9 @@ 1.4 self.attributes_used.add(attrname) 1.5 return self.attributes_used 1.6 1.7 + def exposes_name(self, attrname): 1.8 + return attrname in self.attributes_used 1.9 + 1.10 # Value-related methods. 1.11 1.12 def get_contexts(self):