diff options
author | Guido van Rossum <guido@python.org> | 1996-01-25 18:35:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-01-25 18:35:24 (GMT) |
commit | ba426640ddeba29877ce9ebd750864aef7faeef9 (patch) | |
tree | 60ebe7a958d976d70975fca67afa28e14116e4bf /Lib | |
parent | 6700142d832d1ba1a5724878142ea081a87353f5 (diff) | |
download | cpython-ba426640ddeba29877ce9ebd750864aef7faeef9.zip cpython-ba426640ddeba29877ce9ebd750864aef7faeef9.tar.gz cpython-ba426640ddeba29877ce9ebd750864aef7faeef9.tar.bz2 |
fix typo in _setval() return value
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/dumbdbm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dumbdbm.py b/Lib/dumbdbm.py index f0be061..e356733 100644 --- a/Lib/dumbdbm.py +++ b/Lib/dumbdbm.py @@ -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) |