1.1 --- a/micropython/data.py Thu Jun 17 00:35:37 2010 +0200
1.2 +++ b/micropython/data.py Sat Jun 19 02:14:58 2010 +0200
1.3 @@ -351,6 +351,15 @@
1.4
1.5 def use_specific_attribute(self, objname, attrname):
1.6
1.7 + "Declare the usage on 'objname' of the given 'attrname'."
1.8 +
1.9 + self._use_specific_attribute(objname, attrname)
1.10 +
1.11 + # These shadow various methods in the InspectedModule class, and provide
1.12 + # implementations generally.
1.13 +
1.14 + def _use_specific_attribute(self, objname, attrname):
1.15 +
1.16 """
1.17 Note attribute usage specifically on 'objname' - an object which is
1.18 known at inspection time - or in the current unit if 'objname' is None,
1.19 @@ -367,9 +376,6 @@
1.20 if importer is not None:
1.21 importer.use_specific_name(objname, attrname, from_name)
1.22
1.23 - # These shadow various methods in the InspectedModule class, and provide
1.24 - # implementations generally.
1.25 -
1.26 def _use_attribute(self, name, attrname):
1.27
1.28 """