1.1 --- a/micropython/inspect.py Fri Jun 03 01:31:27 2011 +0200
1.2 +++ b/micropython/inspect.py Fri Jun 03 01:31:56 2011 +0200
1.3 @@ -804,7 +804,7 @@
1.4 # The type name is noted as being used, thus preserving the class in any
1.5 # generated program.
1.6
1.7 - self.use_name(self.importer.get_constant_type_name(node.value), node)
1.8 + self.use_specific_attribute("__builtins__", self.importer.get_constant_type_name(node.value))
1.9 return self.importer.make_constant(node.value)
1.10
1.11 def visitContinue(self, node):