Newbie question about dictionaries

Michael Hudson mwh at python.net
Mon Jul 29 10:55:17 EDT 2002


"Vladimir Cherepanov" <vovka_foreverREMOVE_THIS at hotmail.com> writes:

> Is it right then that I have to implement a custom class for key objects if
> I want to use a custom hash function?

Yes.  Why do you ask?  Is there some feature of the standard type's
hash functions that you dislike?

Cheers,
M.

-- 
  Presumably pronging in the wrong place zogs it.
                                        -- Aldabra Stoddart, ucam.chat



More information about the Python-list mailing list