Searched refs:Shelf (Results 1 - 6 of 6) sorted by relevance

/external/python/cpython3/Lib/test/
H A Dtest_shelve.py52 s = shelve.Shelf(d1, protocol=2, writeback=False)
91 s = shelve.Shelf(d1, protocol=0)
96 s = shelve.Shelf(d2, protocol=1)
107 s = shelve.Shelf(d1, protocol=2, writeback=False)
115 s = shelve.Shelf(d2, protocol=2, writeback=True)
129 shelve.Shelf(d)[key] = [1]
132 shelve.Shelf(d, keyencoding='latin-1')[key] = [1]
135 s = shelve.Shelf(d, keyencoding='ascii')
143 s = shelve.Shelf(d, writeback=True)
153 with shelve.Shelf(d
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_shelve.py15 s = shelve.Shelf(d1, protocol=2, writeback=False)
60 s = shelve.Shelf(d1, protocol=0)
65 s = shelve.Shelf(d2, protocol=1)
75 s = shelve.Shelf(d1, protocol=2, writeback=False)
83 s = shelve.Shelf(d2, protocol=2, writeback=True)
96 s = shelve.Shelf(d, writeback=True)
113 type2test = shelve.Shelf
118 x= shelve.Shelf({}, **self._args)
/external/python/cpython2/Lib/
H A Dshelve.py73 __all__ = ["Shelf","BsdDbShelf","DbfilenameShelf","open"]
85 class Shelf(UserDict.DictMixin): class in inherits:UserDict.DictMixin
176 class BsdDbShelf(Shelf):
177 """Shelf implementation using the "BSD" db interface.
190 Shelf.__init__(self, dict, protocol, writeback)
218 class DbfilenameShelf(Shelf):
219 """Shelf implementation using the "anydbm" generic dbm interface.
227 Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
/external/python/cpython3/Lib/
H A Dshelve.py64 __all__ = ["Shelf", "BsdDbShelf", "DbfilenameShelf", "open"]
77 class Shelf(collections.MutableMapping): class in inherits:collections.MutableMapping
175 class BsdDbShelf(Shelf):
176 """Shelf implementation using the "BSD" db interface.
190 Shelf.__init__(self, dict, protocol, writeback, keyencoding)
218 class DbfilenameShelf(Shelf):
219 """Shelf implementation using the "dbm" generic dbm interface.
227 Shelf.__init__(self, dbm.open(filename, flag), protocol, writeback)
/external/python/cpython3/Lib/turtledemo/
H A Dsorting_animate.py42 class Shelf(list): class in inherits:list
171 s = Shelf(-200)
/external/autotest/tko/parsers/test/
H A Dscenario_base.py244 return shelve.Shelf(dumbdbm.open(filename, flag), protocol, writeback)

Completed in 231 milliseconds