Re: setattr for secondary attribute

2005-11-21 Thread Alex
Great! Thanks, it works (of course). -- http://mail.python.org/mailman/listinfo/python-list

Re: setattr for secondary attribute

2005-11-21 Thread Bengt Richter
On 20 Nov 2005 20:34:39 -0800, Alex [EMAIL PROTECTED] wrote: I apologize for asking maybe a very trivial question. I have a new class object A with slots. One of the slots is, for example, object spam. Object spam, in turn, also has slots and one of them is attribute eggs. I need to assign a new

setattr for secondary attribute

2005-11-20 Thread Alex
I apologize for asking maybe a very trivial question. I have a new class object A with slots. One of the slots is, for example, object spam. Object spam, in turn, also has slots and one of them is attribute eggs. I need to assign a new value to eggs. In other words, I need to perform the

Re: setattr for secondary attribute

2005-11-20 Thread Fredrik Lundh
Alex wrote: I apologize for asking maybe a very trivial question. I have a new class object A with slots. One of the slots is, for example, object spam. Object spam, in turn, also has slots and one of them is attribute eggs. I need to assign a new value to eggs. In other words, I need to