On Tue, May 18, 2010 at 2:41 PM, Ethan Furman <et...@stoneleaf.us> wrote:
>
> Do you expect afoo.letter[x] to always be afoo.x?  Because they aren't:
>
> >>> afoo.A = 9
> >>> afoo.letter['a']
> 1
>

What you are pointing out is that the assignment is not reversed . But that
does make me thing of something I had not.

>>> afoo.letter['a'] = 345
>>> afoo.A
1

Thats kinda a bummer, whats a good way to make sure affo.A gets updated?

Vincent

>
> ~Ethan~
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

  *Vincent Davis
720-301-3003 *
vinc...@vincentdavis.net
 my blog <http://vincentdavis.net> |
LinkedIn<http://www.linkedin.com/in/vincentdavis>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to