fix typo in _setval() return value

This commit is contained in:
Guido van Rossum 1996-01-25 18:35:24 +00:00
parent 6700142d83
commit ba426640dd

View File

@ -94,7 +94,7 @@ class _Database:
f.seek(pos)
f.write(val)
f.close()
return pos, (val)
return (pos, len(val))
def _addkey(self, key, (pos, siz)):
self._index[key] = (pos, siz)