Re: Set/Get attribute syntatic sugar

2005-06-29 Thread szport
Yes, I mean this thing.

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


Re: Set/Get attribute syntatic sugar

2005-06-29 Thread szport
> e = 'i_am_an_attribute'
> o.(e) = 10
> o.i_am_an_attribute == 10

Yes I mean this thing: to write

o.(e) = 10

or 

o.[e] = 10

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