Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dfd570 commit 3898a70Copy full SHA for 3898a70
1 file changed
Lib/dumbdbm.py
@@ -89,8 +89,8 @@ def _commit(self):
89
pass
90
91
f = _open(self._dirfile, 'w', self._mode)
92
- for key, (pos, siz) in self._index.items():
93
- f.write("%r, (%d, %d)\n" % (key, pos, siz))
+ for key, pos_and_siz_pair in self._index.iteritems():
+ f.write("%r, %r\n" % (key, pos_and_siz_pair))
94
f.close()
95
96
def __getitem__(self, key):
0 commit comments