micropython/__init__.py | raw changeset files shortlog |
1.1 --- a/micropython/__init__.py Mon Aug 18 01:40:18 2008 +0200 1.2 +++ b/micropython/__init__.py Mon Aug 18 01:45:23 2008 +0200 1.3 @@ -246,7 +246,7 @@ 1.4 for module in self.get_modules(): 1.5 for obj in module.all_objects: 1.6 if isinstance(obj, micropython.inspect.Class): 1.7 - compatible = [obj] + obj.descendants 1.8 + compatible = [obj] + list(obj.descendants) 1.9 compatible_dict = dict([(cls.full_name(), cls) for cls in compatible]) 1.10 t.add(obj.full_name(), compatible_dict) 1.11