Neal Norwitz  committed c09db78

When the _iter_mixin stopped inheritting from UsserDictMixin, it lost the
__repr__ which caused to fail in test03_repr_closed_db
Restore the repr so the test passes. I think this is correct, but it would
be good to have some more review.

  • Participants
  • Parent commits 82c3b0b

Comments (0)

Files changed (1)

File Lib/bsddb/

     def __del__(self):
+    def __repr__(self):
+        return repr(dict(self.iteritems()))
     def _checkCursor(self):
         if self.dbc is None:
             self.dbc = _DeadlockWrap(self.db.cursor)