Dictionary Keys question

FireNWater khoard at gmail.com
Thu Jan 31 15:15:49 EST 2008


On Jan 31, 4:39 am, Dustan <DustanGro... at gmail.com> wrote:
> On Jan 30, 7:02 pm, FireNWater <kho... at gmail.com> wrote:
>
> > Thank you for the explanation. . . I think I now have a (foggy)
> > understanding of hash tables.  It seems to be a way to create order

>
> The 'order' that your speaking of is not implemented by the hash
> *table*, per se, but rather by the hash function, which returns an
> integer (the hash code).
>
Dustan,

Yes, I think I understand it now. . . the order I was referring to is
provided "behind the scenes" by the return values of the hash
function.

Thanks to everyone with their explanations!!



More information about the Python-list mailing list