Searched refs:pos_and_siz_pair (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/ |
D | dumbdbm.py | 91 key, pos_and_siz_pair = _ast.literal_eval(line) 92 self._index[key] = pos_and_siz_pair 116 for key, pos_and_siz_pair in self._index.iteritems(): 117 f.write("%r, %r\n" % (key, pos_and_siz_pair)) 155 def _addkey(self, key, pos_and_siz_pair): argument 156 self._index[key] = pos_and_siz_pair 159 f.write("%r, %r\n" % (key, pos_and_siz_pair))
|
/external/python/cpython3/Lib/dbm/ |
D | dumb.py | 111 key, pos_and_siz_pair = _ast.literal_eval(line) 113 self._index[key] = pos_and_siz_pair 137 for key, pos_and_siz_pair in self._index.items(): 140 entry = "%r, %r\n" % (key.decode('Latin-1'), pos_and_siz_pair) 186 def _addkey(self, key, pos_and_siz_pair): argument 187 self._index[key] = pos_and_siz_pair 190 f.write("%r, %r\n" % (key.decode("Latin-1"), pos_and_siz_pair))
|