strange PyLint configuration
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Fri Jun 1 03:20:11 EDT 2007
In <5c8q4eF2vg743U1 at mid.individual.net>, 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
More information about the Python-list
mailing list