1.1 --- a/micropython/__init__.py Sun Aug 24 19:20:45 2008 +0200
1.2 +++ b/micropython/__init__.py Mon Aug 25 02:04:10 2008 +0200
1.3 @@ -115,7 +115,6 @@
1.4
1.5 objtable = self.get_object_table()
1.6 paramtable = self.get_parameter_table()
1.7 - clstable = self.get_class_table()
1.8
1.9 image = []
1.10
1.11 @@ -239,21 +238,6 @@
1.12
1.13 return self.objtable
1.14
1.15 - def get_class_table(self):
1.16 -
1.17 - "Return a table with details of class compatibility."
1.18 -
1.19 - if self.clstable is None:
1.20 - t = self.clstable = micropython.table.ClassTable()
1.21 - for module in self.get_modules():
1.22 - for obj in module.all_objects:
1.23 - if isinstance(obj, micropython.inspect.Class):
1.24 - compatible = [obj] + list(obj.descendants)
1.25 - compatible_dict = dict([(cls.full_name(), cls) for cls in compatible])
1.26 - t.add(obj.full_name(), compatible_dict)
1.27 -
1.28 - return self.clstable
1.29 -
1.30 def get_parameter_table(self):
1.31
1.32 "Return a table with details of parameters for functions and methods."