Module shelve :: Class Shelf
[hide private]
[frames] | no frames]

_ClassType Shelf

UserDict.DictMixin --+
Known Subclasses:

Base class for shelf implementations.

This is initialized with a dictionary-like object. See the module's __doc__ string for an overview of the interface.

Instance Methods [hide private]
__init__(self, dict, protocol=None, writeback=False)
has_key(self, key)
__contains__(self, key)
get(self, key, default=None)
__getitem__(self, key)
__setitem__(self, key, value)
__delitem__(self, key)

Inherited from UserDict.DictMixin: __cmp__, __iter__, __repr__, clear, items, iteritems, iterkeys, itervalues, pop, popitem, setdefault, update, values

Method Details [hide private]

(Length operator)

Overrides: UserDict.DictMixin.__len__

has_key(self, key)

Overrides: UserDict.DictMixin.has_key

__contains__(self, key)
(In operator)

Overrides: UserDict.DictMixin.__contains__

get(self, key, default=None)

Overrides: UserDict.DictMixin.get