luvspython <srehtvandy <at> gmail.com> writes:
>     def __setitem__(self, item, value):
>         super(HistoryKeeper, self).__setitem__(item, value)

object has no __setitem__. Are you looking for __setattr__?

> 
> class Vehicle(HistoryKeeper):
>     def __init__(self, tag, make, model):
>         args = locals()

This is hideous by the way.




-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to