On Thu, 28 Dec 2006 09:16:18 -0800, Ben wrote: > Hello... > > I have a dictionary, where each value is a seperate instance of the > same class: > > self.mop_list[record_number]=record(self.mops[:])
Others have already solved the immediate problem, but I'd just like to make a brief comment about self-documenting code, in particular misleading self-documenting code. The O.P. says he has a DICTIONARY called mop_LIST. [raises eyebrow] -- Steven. -- http://mail.python.org/mailman/listinfo/python-list