commit | 3ac6741f7922b7fdf05f9ba231c6eeff73580f8a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Feb 10 18:55:06 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Feb 10 18:55:06 2007 +0000 |
tree | 6d83c8b07925e43993c2d7c77bf648d1e31a6932 | |
parent | 83825acd1bd02148c75bd2f4469767d4839196d3 [diff] |
Implement __contains__ for dict_keys and dict_items. (Not for dict_values, where it can't be done faster than the default implementation which just iterates the elements.)