1.1 --- a/micropython/data.py Mon Oct 29 22:27:15 2012 +0100
1.2 +++ b/micropython/data.py Fri Nov 02 00:34:27 2012 +0100
1.3 @@ -1656,15 +1656,6 @@
1.4 self.allattr[name] = attr
1.5 return self.allattr
1.6
1.7 - def get_static_attribute(self, name):
1.8 -
1.9 - """
1.10 - Return a static attribute for the given 'name' or None if no such
1.11 - attribute exists.
1.12 - """
1.13 -
1.14 - return self.all_class_attributes().get(name)
1.15 -
1.16 class TypeClass(Class):
1.17
1.18 "A special class for the type class."
1.19 @@ -2089,6 +2080,8 @@
1.20
1.21 return dict(self)
1.22
1.23 + all_attributes = module_attributes
1.24 +
1.25 def get_static_attribute(self, name):
1.26
1.27 """