(self, pos, val)
| 170 | # pos to hold val, without overwriting some other value. Return |
| 171 | # pair (pos, len(val)). |
| 172 | def _setval(self, pos, val): |
| 173 | with _io.open(self._datfile, 'rb+') as f: |
| 174 | f.seek(pos) |
| 175 | f.write(val) |
| 176 | return (pos, len(val)) |
| 177 | |
| 178 | # key is a new key whose associated value starts in the data file |
| 179 | # at offset pos and with length siz. Add an index record to |
no test coverage detected