Peter Otten wrote:

> No, 'k in d' is equivalent to 'd.has_key(k)', only with less
> (constant) overhead for the function call. 

Ah, thx. Thought the "x in d" syntax might search in d.values() too.

Regards,


Björn

-- 
BOFH excuse #12:

dry joints on cable plug

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

Reply via email to