In <[EMAIL PROTECTED]>, Bjoern Schliessmann wrote: > [ripped out of context :-)] > Has this been updated recently? I could've sworn I had read that > stuff like has_key was "old".
Yes, `has_key()` is "old", it's spelled ``in`` these days. :-)
if mapping.has_key(ham): pass
# ->
if ham in mapping: pass
Ciao,
Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list
