(self, key)
| 190 | Shelf.__init__(self, dict, protocol, writeback, keyencoding) |
| 191 | |
| 192 | def set_location(self, key): |
| 193 | (key, value) = self.dict.set_location(key) |
| 194 | f = BytesIO(value) |
| 195 | return (key.decode(self.keyencoding), Unpickler(f).load()) |
| 196 | |
| 197 | def next(self): |
| 198 | (key, value) = next(self.dict) |