strange PyLint configuration

Marc 'BlackJack' Rintsch bj_666 at
Fri Jun 1 09:20:11 CEST 2007

In <5c8q4eF2vg743U1 at>, 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

	Marc 'BlackJack' Rintsch

More information about the Python-list mailing list