1.1 --- a/micropython/basicdata.py Mon Oct 29 22:27:15 2012 +0100
1.2 +++ b/micropython/basicdata.py Fri Nov 02 00:34:27 2012 +0100
1.3 @@ -39,18 +39,20 @@
1.4 else:
1.5 return self.parent.full_name()
1.6
1.7 +no_attributes = {}
1.8 +
1.9 class Namespace:
1.10
1.11 "A mix-in providing basic namespace functionality."
1.12
1.13 - def get_static_attribute(self, name):
1.14 + def all_attributes(self):
1.15
1.16 """
1.17 - Return a static attribute for the given 'name' or None if no such
1.18 - attribute exists.
1.19 + Return all attributes accessible through a namespace, whether provided
1.20 + directly by the namespace or by other mechanisms.
1.21 """
1.22
1.23 - return None
1.24 + return no_attributes
1.25
1.26 class Constant:
1.27