commit | 554c8b856cbeb29f3fef0350846aef442832acac | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Tue Feb 05 22:54:43 2008 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Tue Feb 05 22:54:43 2008 +0000 |
tree | 7a12918b63e5f35787cb232b36bdbdf0890fff90 | |
parent | f01fe6915b329c1511548e99e0e4d34ac423f9b3 [diff] |
Convert test_userdict to use the collections.UserDict. Fix-up collections.UserDict.__contains__ to work correctly when __missing__ is defined. Fix-up Mapping.__eq__ to only match instances of Mapping.