Bjoern Schliessmann wrote:

> Wouldn't be "if k in d.keys()" be the exact replacement?

no.  that would convert an O(1) operation to an O(n) operation, which 
would be rather silly.

</F>

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

Reply via email to