mirror of
https://github.com/python/cpython.git
synced 2024-11-27 20:04:41 +08:00
fix typo in _setval() return value
This commit is contained in:
parent
6700142d83
commit
ba426640dd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user