1.1 --- a/micropython/trans.py Sun Feb 20 19:31:50 2011 +0100
1.2 +++ b/micropython/trans.py Fri Feb 25 01:45:02 2011 +0100
1.3 @@ -49,7 +49,7 @@
1.4
1.5 "Make an exception of the given 'name' using 'node'."
1.6
1.7 - # NOTE: Reserving only one attribute.
1.8 + # NOTE: Reserving an attribute plus __class__.
1.9
1.10 self.make_instance(self.get_builtin_class(name, node), 1)
1.11
1.12 @@ -1414,7 +1414,7 @@
1.13 self.make_instance(self.get_builtin_class("list", node), 2)
1.14 list_temp = self.get_temp()
1.15 self.new_op(list_temp)
1.16 - self.new_op(StoreAttr(Attr(0, None, None)))
1.17 + self.new_op(StoreAttr(Attr(1, None, None)))
1.18 self.set_source()
1.19 self.discard_value()
1.20