From: Guido van Rossum Date: Thu, 25 Jan 1996 18:35:24 +0000 (+0000) Subject: fix typo in _setval() return value X-Git-Tag: v1.4b1~384 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba426640ddeba29877ce9ebd750864aef7faeef9;p=thirdparty%2FPython%2Fcpython.git fix typo in _setval() return value --- diff --git a/Lib/dumbdbm.py b/Lib/dumbdbm.py index f0be0613052c..e35673387930 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)