Reverse the relationship between __contains__ and has_key in all cache classes since...
authorZac Medico <zmedico@gentoo.org>
Thu, 26 Oct 2006 08:10:35 +0000 (08:10 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 26 Oct 2006 08:10:35 +0000 (08:10 -0000)
commite3d5ecc57975b2a168bc436efd90bc3223f1b4e7
tree148e8d839c13b4dd6e463e270f88e481992d771a
parent017e1a5720d08133e8edd325bebe4145ed22add4
Reverse the relationship between __contains__ and has_key in all cache classes since python handles the "in" operator more efficiently than a has_key method call.

svn path=/main/trunk/; revision=4821
pym/cache/anydbm.py
pym/cache/flat_hash.py
pym/cache/flat_list.py
pym/cache/metadata_overlay.py
pym/cache/sql_template.py
pym/cache/sqlite.py
pym/cache/template.py