Re: Way for see if dict has a key



Bruno Desthuilliers wrote:

Seems that if "key in dict" do a simple linear search

that would be rather silly.

hint: http://pyref.infogami.com/__contains__

</F>

.