On Mar 14, 4:52 pm, "Samuel" <[EMAIL PROTECTED]> wrote:
> On Mar 14, 9:48 pm, "Drew" <[EMAIL PROTECTED]> wrote:
>
> > This is interesting behavior, but may not be what the original poster
> > intended.
>
> I am the original poster :).
>
> > If I understand correctly, this means that if more than one
> > object shares the same id, only one copy will be created in the dict.
> > Is this correct?
>
> Yes. Dictionaries are just hashes; you can't have the same key twice.
>
> Bye,
> -Sam

Doh! *Hangs head in shame and walks away slowly...* Thanks for you
gracious response :)

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

Reply via email to