1.1 --- a/micropython/inspect.py Sat Nov 07 02:36:33 2009 +0100
1.2 +++ b/micropython/inspect.py Mon Nov 16 00:34:47 2009 +0100
1.3 @@ -306,6 +306,10 @@
1.4 unit = self.get_namespace()
1.5 self.importer.use_name(name, unit.name)
1.6
1.7 + # Attribute usage methods.
1.8 + # These are convenience methods which refer to the specific namespace's
1.9 + # implementation of these operations.
1.10 +
1.11 def new_branchpoint(self):
1.12 self.get_namespace()._new_branchpoint()
1.13
1.14 @@ -319,6 +323,12 @@
1.15 self.get_namespace()._merge_branches()
1.16
1.17 def define_attribute_user(self, node):
1.18 +
1.19 + """
1.20 + Define 'node' as the user of attributes, indicating the point where the
1.21 + user is defined.
1.22 + """
1.23 +
1.24 self.get_namespace()._define_attribute_user(node)
1.25
1.26 def reset_all_attributes(self):