Re: dictionary as attribute of a class...

2011-01-05 Thread tinauser
On Jan 5, 4:34 pm, Peter Otten <__pete...@web.de> wrote: > tinauser wrote: > > Hallo list, > > here again I have a problem whose solution might be very obvious, but > > I really cannot see it: > > I have a class having as attribute a dictionary whose keys are names > > and values are instance of an

Re: dictionary as attribute of a class...

2011-01-05 Thread Peter Otten
tinauser wrote: > Hallo list, > here again I have a problem whose solution might be very obvious, but > I really cannot see it: > I have a class having as attribute a dictionary whose keys are names > and values are instance of another class. > This second class has in turn as an attribute a dicti

Re: dictionary as attribute of a class...

2011-01-05 Thread Benjamin Kaplan
On Wed, Jan 5, 2011 at 10:07 AM, tinauser wrote: > Hallo list, > here again I have a problem whose solution might be very obvious, but > I really cannot see it: > I have a class having as attribute a dictionary whose keys are names > and values are instance of another class. > This second class ha

dictionary as attribute of a class...

2011-01-05 Thread tinauser
Hallo list, here again I have a problem whose solution might be very obvious, but I really cannot see it: I have a class having as attribute a dictionary whose keys are names and values are instance of another class. This second class has in turn as an attribute a dictionary. I want a function of t