Fredrik Lundh <[EMAIL PROTECTED]> wrote:

> Michele Petrazzo wrote:
> 
> > what the preferred way for see if the dict has a key?
> > We have a lot of solutions:
> >
> > key in dict
> 
> new syntax (2.3 and later).

Fine with Python 2.2 as well, actually -- so, "new" only in an
_extremely_ loose sense of the word:-).


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

Reply via email to