Lines Matching refs:shelf
3 A "shelf" is a persistent, dictionary-like object. The difference
4 with dbm databases is that the values (not the keys!) in a shelf can
73 __all__ = ["Shelf","BsdDbShelf","DbfilenameShelf","open"]
79 raise ValueError('invalid operation on closed shelf')
85 class Shelf(UserDict.DictMixin):
86 """Base class for shelf implementations.
172 class BsdDbShelf(Shelf):
173 """Shelf implementation using the "BSD" db interface.
186 Shelf.__init__(self, dict, protocol, writeback)
214 class DbfilenameShelf(Shelf):
215 """Shelf implementation using the "anydbm" generic dbm interface.
223 Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)