Re: Way for see if dict has a key
- From: Fredrik Lundh <fredrik@xxxxxxxxxxxxxx>
- Date: Fri, 30 Jun 2006 18:18:45 +0200
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>
.
- Follow-Ups:
- Re: Way for see if dict has a key
- From: Bruno Desthuilliers
- Re: Way for see if dict has a key
- References:
- Way for see if dict has a key
- From: Michele Petrazzo
- Re: Way for see if dict has a key
- From: Bruno Desthuilliers
- Re: Way for see if dict has a key
- From: Michele Petrazzo
- Re: Way for see if dict has a key
- From: André
- Re: Way for see if dict has a key
- From: Fredrik Lundh
- Re: Way for see if dict has a key
- From: Bruno Desthuilliers
- Re: Way for see if dict has a key
- From: Fredrik Lundh
- Re: Way for see if dict has a key
- From: Bruno Desthuilliers
- Way for see if dict has a key
- Prev by Date: Re: handling unicode data
- Next by Date: Re: Way for see if dict has a key
- Previous by thread: Re: Way for see if dict has a key
- Next by thread: Re: Way for see if dict has a key
- Index(es):