micropython/inspect.py | raw changeset files shortlog |
1.1 --- a/micropython/inspect.py Sun Nov 04 23:31:22 2012 +0100 1.2 +++ b/micropython/inspect.py Sun Nov 04 23:41:06 2012 +0100 1.3 @@ -669,7 +669,7 @@ 1.4 # Check for class.__class__. 1.5 1.6 if attrname == "__class__" and isinstance(value, Class): 1.7 - attr = type_class 1.8 + attr = get_constant_class("type") 1.9 else: 1.10 attr = value.get(attrname) or make_instance() 1.11 self.use_specific_attribute(value.full_name(), attrname)